diff options
author | Moritz Ulrich <moritz@tarn-vedra.de> | 2016-08-09 19:21:25 +0200 |
---|---|---|
committer | Moritz Ulrich <moritz@tarn-vedra.de> | 2016-08-09 19:21:25 +0200 |
commit | 3efadce03b12ff6483d34b1353106161fff6a308 (patch) | |
tree | 0b6dfd09a79a8ca2bc5e57863137720419f260d8 /pkgs/os-specific/linux/systemd | |
parent | 3cf5d5ebed8c7c20f0da1ec3bc66388f1886b8ec (diff) | |
download | nixlib-3efadce03b12ff6483d34b1353106161fff6a308.tar nixlib-3efadce03b12ff6483d34b1353106161fff6a308.tar.gz nixlib-3efadce03b12ff6483d34b1353106161fff6a308.tar.bz2 nixlib-3efadce03b12ff6483d34b1353106161fff6a308.tar.lz nixlib-3efadce03b12ff6483d34b1353106161fff6a308.tar.xz nixlib-3efadce03b12ff6483d34b1353106161fff6a308.tar.zst nixlib-3efadce03b12ff6483d34b1353106161fff6a308.zip |
systemd-cryptsetup-generator: Fix installPhase.
Diffstat (limited to 'pkgs/os-specific/linux/systemd')
-rw-r--r-- | pkgs/os-specific/linux/systemd/cryptsetup-generator.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/systemd/cryptsetup-generator.nix b/pkgs/os-specific/linux/systemd/cryptsetup-generator.nix index 2935990755c6..11422f7d428d 100644 --- a/pkgs/os-specific/linux/systemd/cryptsetup-generator.nix +++ b/pkgs/os-specific/linux/systemd/cryptsetup-generator.nix @@ -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 ''; }) |