pkgs/tools: stdenv.lib -> lib
This commit is contained in:
@@ -3,9 +3,9 @@ stdenv.mkDerivation {
|
||||
|
||||
inherit name src patches;
|
||||
|
||||
CFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-D_DARWIN_C_SOURCE";
|
||||
CFLAGS = lib.optionalString stdenv.isDarwin "-D_DARWIN_C_SOURCE";
|
||||
|
||||
postPatch = stdenv.lib.optionalString (customConfig != null) ''
|
||||
postPatch = lib.optionalString (customConfig != null) ''
|
||||
cp ${builtins.toFile "config.h" customConfig} ./config.h
|
||||
'';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user