pkgs/tools: stdenv.lib -> lib

This commit is contained in:
Ben Siraphob
2021-01-15 17:12:36 +07:00
parent 94f3683935
commit 8c5d37129f
916 changed files with 2510 additions and 2510 deletions
+3 -3
View File
@@ -33,14 +33,14 @@ stdenv.mkDerivation rec {
done
'';
configureFlags = stdenv.lib.optionals (!enablePython) [ "--disable-pywrap" ];
configureFlags = lib.optionals (!enablePython) [ "--disable-pywrap" ];
nativeBuildInputs = [ pkgconfig ]
# if python2 support is requested, it is needed at builtime as well as runtime.
++ stdenv.lib.optionals (enablePython) [ python2 ]
++ lib.optionals (enablePython) [ python2 ]
;
buildInputs = [ perl nss nspr pam intltool makeWrapper ]
++ stdenv.lib.optionals (enablePython) [ python2 ]
++ lib.optionals (enablePython) [ python2 ]
;
propagatedBuildInputs = [ coreutils gettext cryptsetup lvm2 rsync keyutils which ];