pkgs/tools: stdenv.lib -> lib
This commit is contained in:
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
patches = stdenv.lib.optional staticOnly (fetchpatch {
|
||||
patches = lib.optional staticOnly (fetchpatch {
|
||||
# context from https://github.com/google/brotli/pull/655
|
||||
# updated patch from https://github.com/google/brotli/pull/655
|
||||
url = "https://github.com/google/brotli/commit/47a554804ceabb899ae924aaee54df806053d0d1.patch";
|
||||
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
|
||||
});
|
||||
|
||||
cmakeFlags = []
|
||||
++ stdenv.lib.optional staticOnly "-DBUILD_SHARED_LIBS=OFF";
|
||||
++ lib.optional staticOnly "-DBUILD_SHARED_LIBS=OFF";
|
||||
|
||||
outputs = [ "out" "dev" "lib" ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user