mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-13 21:32:23 +03:00
systemd-cryptsetup-generator: Fix bug.
The annoying wrapper script also wraps `systemd-cryptsetup`. We need to copy the original binary to $out too.
This commit is contained in:
parent
b22fc4c411
commit
21df40f85f
@ -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/
|
||||
|
Loading…
Reference in New Issue
Block a user