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
quaternion: Darwin support, fix dependencies and installed outputs #45300
Conversation
substituteInPlace $out/share/applications/quaternion.desktop \ | ||
--replace 'Exec=quaternion' "Exec=$out/bin/quaternion" | ||
'' + lib.optionalString stdenv.isDarwin '' | ||
mv $out/bin $out/Applications |
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 application the only thing in bin? It's probably better to only move the application in case anything else ever gets added.
@GrahamcOfBorg build quaternion |
Success on aarch64-linux (full log) Attempted: quaternion Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: quaternion Partial log (click to expand)
|
Success on x86_64-darwin (full log) Attempted: quaternion Partial log (click to expand)
|
substituteInPlace $out/share/applications/quaternion.desktop \ | ||
--replace 'Exec=quaternion' "Exec=$out/bin/quaternion" | ||
'' + 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.
You can just use
if stdenv.isDarwin then ''
...
'' else ''
...
''
a20473b
to
07eebd3
Compare
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.
Thanks
Motivation for this change
Darwin support, and tidying things up.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)