Skip to content

Commit

Permalink
systemd-cryptsetup-generator: Fix bug.
Browse files Browse the repository at this point in the history
The annoying wrapper script also wraps `systemd-cryptsetup`. We need to
copy the original binary to $out too.
  • Loading branch information
the-kenny committed Aug 15, 2016
1 parent b22fc4c commit 21df40f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/os-specific/linux/systemd/cryptsetup-generator.nix
Expand Up @@ -18,10 +18,10 @@ stdenv.lib.overrideDerivation systemd (p: {
# 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
# TODO: Remove `.libs` prefix when the wrapper-script is gone
installPhase = ''
mkdir -p $out/lib/systemd/
cp systemd-cryptsetup $out/lib/systemd/systemd-cryptsetup
cp .libs/systemd-cryptsetup $out/lib/systemd/systemd-cryptsetup
cp .libs/*.so $out/lib/
mkdir -p $out/lib/systemd/system-generators/
Expand Down

0 comments on commit 21df40f

Please sign in to comment.