mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 22:50:49 +00:00
systemd-cryptsetup-generator: Fix installPhase.
This commit is contained in:
parent
3cf5d5ebed
commit
3efadce03b
|
@ -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
|
||||
'';
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue