pkgs/tools: stdenv.lib -> lib

This commit is contained in:
Ben Siraphob
2021-01-15 16:19:50 +07:00
parent 94f3683935
commit 8c5d37129f
916 changed files with 2510 additions and 2510 deletions

View File

@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ autoreconfHook asciidoc libxml2 libxslt docbook_xsl ];
# -z flag is not supported in darwin
preAutoreconf = stdenv.lib.optionalString stdenv.isDarwin ''
preAutoreconf = lib.optionalString stdenv.isDarwin ''
substituteInPlace configure.ac --replace \
'LDFLAGS="-Wl,-z,defs $LDFLAGS"' \
'LDFLAGS="-Wl, $LDFLAGS"'
@@ -44,7 +44,7 @@ stdenv.mkDerivation rec {
"--enable-reverse" # Enable reverse proxying.
] ++
# See: https://github.com/tinyproxy/tinyproxy/issues/1
stdenv.lib.optional stdenv.isDarwin "--disable-regexcheck";
lib.optional stdenv.isDarwin "--disable-regexcheck";
meta = with lib; {
homepage = "https://tinyproxy.github.io/";