mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 12:53:05 +00:00
systemd: cleanup cryptsetup input
use lib.getDev to retrieve the dev output. Don't pass it to buildInputs if we don't build with withCryptsetup set to true.
This commit is contained in:
parent
e1e01fa85e
commit
5f257d7d2c
@ -169,7 +169,6 @@ stdenv.mkDerivation {
|
||||
acl
|
||||
audit
|
||||
bzip2
|
||||
cryptsetup
|
||||
glib
|
||||
kmod
|
||||
libapparmor
|
||||
@ -191,7 +190,7 @@ stdenv.mkDerivation {
|
||||
++ lib.optional withLibseccomp libseccomp
|
||||
++ lib.optional withEfi gnu-efi
|
||||
++ lib.optional withSelinux libselinux
|
||||
++ lib.optional withCryptsetup cryptsetup.dev
|
||||
++ lib.optional withCryptsetup (lib.getDev cryptsetup.dev)
|
||||
;
|
||||
|
||||
#dontAddPrefix = true;
|
||||
|
@ -18671,7 +18671,6 @@ in
|
||||
withEfi = false;
|
||||
withImportd = false;
|
||||
withCryptsetup = false;
|
||||
cryptsetup = null;
|
||||
glib = null;
|
||||
lvm2 = null;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user