systemd: add libgpgerror only to buildInputs if we build with resolved support
This commit is contained in:
parent
e6dff1d666
commit
065f057d0c
1 changed files with 5 additions and 5 deletions
|
@ -183,7 +183,6 @@ stdenv.mkDerivation {
|
||||||
libapparmor
|
libapparmor
|
||||||
libcap
|
libcap
|
||||||
libgcrypt
|
libgcrypt
|
||||||
libgpgerror
|
|
||||||
libidn2
|
libidn2
|
||||||
libuuid
|
libuuid
|
||||||
linuxHeaders
|
linuxHeaders
|
||||||
|
@ -192,12 +191,13 @@ stdenv.mkDerivation {
|
||||||
]
|
]
|
||||||
++ lib.optional wantCurl (lib.getDev curl)
|
++ lib.optional wantCurl (lib.getDev curl)
|
||||||
++ lib.optionals withCompression [ bzip2 lz4 xz ]
|
++ lib.optionals withCompression [ bzip2 lz4 xz ]
|
||||||
++ lib.optional withNetworkd iptables
|
++ lib.optional withCryptsetup (lib.getDev cryptsetup.dev)
|
||||||
|
++ lib.optional withEfi gnu-efi
|
||||||
++ lib.optional withKexectools kexectools
|
++ lib.optional withKexectools kexectools
|
||||||
++ lib.optional withLibseccomp libseccomp
|
++ lib.optional withLibseccomp libseccomp
|
||||||
++ lib.optional withEfi gnu-efi
|
++ lib.optional withNetworkd iptables
|
||||||
|
++ lib.optional withResolved libgpgerror
|
||||||
++ lib.optional withSelinux libselinux
|
++ lib.optional withSelinux libselinux
|
||||||
++ lib.optional withCryptsetup (lib.getDev cryptsetup.dev)
|
|
||||||
;
|
;
|
||||||
|
|
||||||
#dontAddPrefix = true;
|
#dontAddPrefix = true;
|
||||||
|
|
Loading…
Reference in a new issue