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
|
# For some reason systemd-cryptsetup-generator is a wrapper-script
|
||||||
# with the current release of systemd. We want the real one.
|
# 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 = ''
|
installPhase = ''
|
||||||
mkdir -p $out/lib/systemd/
|
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/
|
cp .libs/*.so $out/lib/
|
||||||
|
|
||||||
mkdir -p $out/lib/systemd/system-generators/
|
mkdir -p $out/lib/systemd/system-generators/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user