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
+1 -1
View File
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
buildInputs = [ motif libXpm ];
# the linux config works fine on darwin too!
buildFlags = stdenv.lib.optional (stdenv.isLinux || stdenv.isDarwin) "linux";
buildFlags = lib.optional (stdenv.isLinux || stdenv.isDarwin) "linux";
NIX_CFLAGS_COMPILE="-DBUILD_UNTESTED_NEDIT -L${motif}/lib";