-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
qownnotes: fix build for macOS #363327
qownnotes: fix build for macOS #363327
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it would also be worth checking if the Darwin executable will spit out the completions without this command -- or if there is an alternative for xquartz as mentioned in the issue
Log
|
@getchoo, so do you have Apple Silicon hardware? That's amazing! Thank you for testing!
Yes, we just saw that in pbek/QOwnNotes#2912 (comment). Can the paths in nixpkgs/pkgs/applications/office/qownnotes/default.nix Lines 67 to 72 in 22c3f2c
But why did it ever work on x86_64-darwin? 🤔 |
@ofborg build qownnotes |
My guess is that is the .app bundle is actually in |
@ofborg build qownnotes |
I played around in a GitHub workflow, the build should work now, including shell completion. |
Thank you! |
This should fix the build on macOS, where there is no
xvfb-run
. Or is this only an issue onaarch64 darwin
, @wineee?(See pbek/QOwnNotes#2912 (comment))
But
nixpkgs/pkgs/tools/misc/xvfb-run/default.nix
Line 60 in 22c3f2c
xvfb-run
.@sfatula, maybe you want to test this build?
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.