systemd-cryptsetup-generator: Fix bug.

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

Changed files
+2 -2
pkgs
os-specific
linux
+2 -2
pkgs/os-specific/linux/systemd/cryptsetup-generator.nix
···
# For some reason systemd-cryptsetup-generator is a wrapper-script
# with the current release of systemd. We want the real one.
-
# TODO: Revert 3efadce when the wrapper-script is gone
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/
···
# For some reason systemd-cryptsetup-generator is a wrapper-script
# with the current release of systemd. We want the real one.
+
# TODO: Remove `.libs` prefix when the wrapper-script is gone
installPhase = ''
mkdir -p $out/lib/systemd/
+
cp .libs/systemd-cryptsetup $out/lib/systemd/systemd-cryptsetup
cp .libs/*.so $out/lib/
mkdir -p $out/lib/systemd/system-generators/