3
0
Fork 0
forked from mirrors/nixpkgs

systemd-cryptsetup-generator: Fix installPhase.

This commit is contained in:
Moritz Ulrich 2016-08-09 19:21:25 +02:00
parent 3cf5d5ebed
commit 3efadce03b

View file

@ -15,11 +15,14 @@ stdenv.lib.overrideDerivation systemd (p: {
make $makeFlags systemd-cryptsetup-generator
'';
# For some reason systemd-cryptsetup-generator is a wrapper-script
# with the current release of systemd. We want the real one.
installPhase = ''
mkdir -p $out/lib/systemd/
cp systemd-cryptsetup $out/lib/systemd/systemd-cryptsetup
cp .libs/*.so $out/lib/
mkdir -p $out/lib/systemd/system-generators/
cp systemd-cryptsetup-generator $out/lib/systemd/system-generators/systemd-cryptsetup-generator
cp .libs/systemd-cryptsetup-generator $out/lib/systemd/system-generators/systemd-cryptsetup-generator
'';
})