mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-03-18 10:03:03 +00:00
systemd-cryptsetup-generator: Fix bug.
The annoying wrapper script also wraps `systemd-cryptsetup`. We need to copy the original binary to $out too.
This commit is contained in:
parent
b22fc4c411
commit
21df40f85f
|
@ -18,10 +18,10 @@ stdenv.lib.overrideDerivation systemd (p: {
|
|||
# For some reason systemd-cryptsetup-generator is a wrapper-script
|
||||
# with the current release of systemd. We want the real one.
|
||||
|
||||
# TODO: Revert 3efadce when the wrapper-script is gone
|
||||
# TODO: Remove `.libs` prefix when the wrapper-script is gone
|
||||
installPhase = ''
|
||||
mkdir -p $out/lib/systemd/
|
||||
cp systemd-cryptsetup $out/lib/systemd/systemd-cryptsetup
|
||||
cp .libs/systemd-cryptsetup $out/lib/systemd/systemd-cryptsetup
|
||||
cp .libs/*.so $out/lib/
|
||||
|
||||
mkdir -p $out/lib/systemd/system-generators/
|
||||
|
|
Loading…
Reference in a new issue