treewide: stdenv.lib -> lib

This commit is contained in:
Ben Siraphob
2021-01-16 17:58:11 +07:00
parent a9bb54359e
commit badf51221d
977 changed files with 2613 additions and 2613 deletions
@@ -35,14 +35,14 @@ stdenv.mkDerivation rec {
# do not compile with PVM library
"--without-pvm"
# compile with GTK
(stdenv.lib.enableFeature withGtk "gtk")
(stdenv.lib.enableFeature withGtk "gtk2")
(lib.enableFeature withGtk "gtk")
(lib.enableFeature withGtk "gtk2")
# compile with ocaml
(stdenv.lib.withFeature withOCaml "ocaml")
(lib.withFeature withOCaml "ocaml")
# do not compile Java interface
"--without-java"
# use the X Window System
(stdenv.lib.withFeature withX "x")
(lib.withFeature withX "x")
# compile with TCL/TK
] ++ lib.optionals withTk [
"--with-tk"