pkgs/tools: stdenv.lib -> lib
This commit is contained in:
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
patchFlags = [ "-p0" ];
|
||||
patches = stdenv.lib.optionals stdenv.isDarwin [
|
||||
patches = lib.optionals stdenv.isDarwin [
|
||||
(fetchpatch {
|
||||
url = "https://raw.githubusercontent.com/macports/macports-ports/18fd229516a46e7272003acbe555735b2a902db7/gis/routino/files/patch-Makefile_conf.diff";
|
||||
sha256 = "1b7hpa4sizansnwwxq1c031nxwdwh71pg08jl9z9apiab8pjsn53";
|
||||
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
outputs = [ "out" "doc" ];
|
||||
|
||||
CLANG = stdenv.lib.optionalString stdenv.cc.isClang "1";
|
||||
CLANG = lib.optionalString stdenv.cc.isClang "1";
|
||||
|
||||
makeFlags = [ "prefix=$(out)" ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user