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
zathura: make compatible with darwin #34973
Conversation
f6b98b4
to
b484164
Compare
@GrahamcOfBorg build zathura |
Failure on aarch64-linux (full log) Partial log (click to expand)
|
Failure on x86_64-linux (full log) Partial log (click to expand)
|
|
||
buildInputs = [ | ||
zathura_core gtk girara openssl mupdf libjpeg jbig2dec openjpeg | ||
gtk-mac-integration |
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.
Looks like you missed an optional
Success on x86_64-darwin (full log) Partial log (click to expand)
|
@@ -13,6 +13,13 @@ stdenv.mkDerivation rec { | |||
|
|||
patches = [ ./gtkflags.patch ]; | |||
|
|||
patchPhase = stdenv.lib.optionalString stdenv.isDarwin '' |
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.
Is the patchPhase override here intentional? This disables the gtkflags.patch, either way it's better to make that explicit and use prePatch
/postPatch
for extra substitutions like this.
@LnL7 Done |
@GrahamcOfBorg build zathura |
Success on x86_64-linux (full log) Partial log (click to expand)
|
Success on x86_64-darwin (full log) Partial log (click to expand)
|
Failure on aarch64-linux (full log) Partial log (click to expand)
|
Motivation for this change
I wanted to use zathura on Mac.
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)