pkgs/shells: stdenv.lib -> lib

This commit is contained in:
Ben Siraphob
2021-01-15 13:28:56 +07:00
parent f35b06e86d
commit e245ae3c3a
19 changed files with 45 additions and 45 deletions

View File

@@ -15,12 +15,12 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ ncurses ]
++ stdenv.lib.optionals (readline != null) [ readline ];
++ lib.optionals (readline != null) [ readline ];
configureFlags = [
"--enable-def-interp=${stdenv.shell}" #183
] ++ stdenv.lib.optionals historySupport [ "--with-history" ]
++ stdenv.lib.optionals (readline != null) [ "--with-edit=readline" ];
] ++ lib.optionals historySupport [ "--with-history" ]
++ lib.optionals (readline != null) [ "--with-edit=readline" ];
prePatch = ''
substituteInPlace configure.ac \