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
cryptsetup-generator: add postFixup #38961
Conversation
@@ -13,6 +13,18 @@ stdenv.lib.overrideDerivation systemd (p: { | |||
ninja systemd-cryptsetup systemd-cryptsetup-generator | |||
''; | |||
|
|||
# The rpath to the shared systemd library is not added by meson. The |
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.
This comment needs to be updated. Meson sets the rpath now, but it is not done in this derivation because ninja install
target (which would take care of that) is not used.
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.
@jtojnar Comment updated
8a128f5
to
4a68988
Compare
This makes cryptsetup-generator link correctly to the shared systemd library.
4a68988
to
caed187
Compare
@jtojnar Comment has been updated |
@GrahamcOfBorg build systemd-cryptsetup-generator |
No attempt on x86_64-darwin (full log) The following builds were skipped because they don't evaluate on x86_64-darwin: systemd-cryptsetup-generator Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: systemd-cryptsetup-generator Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: systemd-cryptsetup-generator Partial log (click to expand)
|
This makes cryptsetup-generator link correctly
to the shared systemd library.
Motivation for this change
#35513 removed the fixup from systemd but the cryptsetup-generator still needs it in order to correctly link to the shared library. So add the fixupt there until a better solution is found.
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)