pkgs/tools: stdenv.lib -> lib

This commit is contained in:
Ben Siraphob
2021-01-15 17:12:36 +07:00
parent 94f3683935
commit 8c5d37129f
916 changed files with 2510 additions and 2510 deletions
+2 -2
View File
@@ -20,9 +20,9 @@ stdenv.mkDerivation rec {
install -Dm755 -t $man/share/man/man8 dnstracer.8
'';
buildInputs = [] ++ stdenv.lib.optionals stdenv.isDarwin [ libresolv ];
buildInputs = [] ++ lib.optionals stdenv.isDarwin [ libresolv ];
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lresolv";
NIX_LDFLAGS = lib.optionalString stdenv.isDarwin "-lresolv";
meta = with lib; {
description = "Determines where a given Domain Name Server (DNS) gets its information from, and follows the chain of DNS servers back to the servers which know the data";