pkgs/development/libraries: stdenv.lib -> lib
This commit is contained in:
committed by
Jonathan Ringer
parent
046d24424e
commit
66e44425c6
@@ -151,11 +151,11 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ which ];
|
||||
buildInputs = [ readline python icu ]
|
||||
++ stdenv.lib.optional stdenv.isDarwin xcbuild
|
||||
++ stdenv.lib.optional stdenv.isLinux patchelf;
|
||||
++ lib.optional stdenv.isDarwin xcbuild
|
||||
++ lib.optional stdenv.isLinux patchelf;
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error=strict-overflow -Wno-error=unused-function -Wno-error=attributes"
|
||||
+ stdenv.lib.optionalString stdenv.cc.isClang " -Wno-error=unused-lambda-capture";
|
||||
+ lib.optionalString stdenv.cc.isClang " -Wno-error=unused-lambda-capture";
|
||||
|
||||
buildFlags = [
|
||||
"LINK=c++"
|
||||
|
||||
Reference in New Issue
Block a user