pkgs/tools: stdenv.lib -> lib
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
# This package comes with its own copy of zlib, libpng and pngxtern
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "optipng-0.7.7";
|
||||
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
|
||||
configureFlags = [
|
||||
"--with-system-zlib"
|
||||
"--with-system-libpng"
|
||||
] ++ stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
|
||||
] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
|
||||
#"-prefix=$out"
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user