git.iko.soy/typeable/nixpkgs
on master help sign in
systemd-cryptsetup-generator: Fix bug.

The annoying wrapper script also wraps `systemd-cryptsetup`. We need to copy the original binary to $out too.

commit21df40f85fd3c59cb90a6a44f05c3d4d29daeffa authorMoritz Ulrich <moritz@tarn-vedra.de> dateMon 15 Aug 2016, 12:41 (10 years ago) parentb22fc4c
1 file changed+2−2
pkgs/os-specific/linux/systemd/cryptsetup-generator.nix+2−2
pkgs/os-specific/linux/systemd/cryptsetup-generator.nix+2−2
@@ -18,10 +18,10 @@ stdenv.lib.overrideDerivation systemd (p: {
1818 # For some reason systemd-cryptsetup-generator is a wrapper-script
1919 # with the current release of systemd. We want the real one.
2020
21− # TODO: Revert 3efadce when the wrapper-script is gone
21+ # TODO: Remove `.libs` prefix when the wrapper-script is gone
2222 installPhase = ''
2323 mkdir -p $out/lib/systemd/
24− cp systemd-cryptsetup $out/lib/systemd/systemd-cryptsetup
24+ cp .libs/systemd-cryptsetup $out/lib/systemd/systemd-cryptsetup
2525 cp .libs/*.so $out/lib/
2626
2727 mkdir -p $out/lib/systemd/system-generators/