3
0
Fork 0
forked from mirrors/nixpkgs

systemd-cryptsetup-generator: Also build systemd-cryptsetup

This commit is contained in:
Moritz Ulrich 2016-03-24 13:30:29 +01:00
parent 47e5fd9f57
commit faa79e60cc

View file

@ -11,11 +11,15 @@ stdenv.lib.overrideDerivation systemd (p: {
buildPhase = ''
make $makeFlags built-sources
make $makeFlags systemd-cryptsetup
make $makeFlags systemd-cryptsetup-generator
'';
installPhase = ''
mkdir -p $out/lib/systemd/system-generators/
cp systemd-cryptsetup-generator $out/lib/systemd/system-generators/systemd-cryptsetup-generator
mkdir -p $out/lib/systemd/
cp systemd-cryptsetup $out/lib/systemd/systemd-cryptsetup
'';
})