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
+3 -3
View File
@@ -5,7 +5,7 @@
}:
let
binPath = stdenv.lib.makeBinPath [
binPath = lib.makeBinPath [
bash iproute iptables procps coreutils gnused gawk nss.tools which python
];
in
@@ -38,8 +38,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ makeWrapper pkgconfig ];
buildInputs = [ bash iproute iptables systemd coreutils gnused gawk gmp unbound bison flex pam libevent
libcap_ng curl nspr nss python ldns ]
++ stdenv.lib.optional docs xmlto
++ stdenv.lib.optional stdenv.isLinux libselinux;
++ lib.optional docs xmlto
++ lib.optional stdenv.isLinux libselinux;
prePatch = ''
# Correct bash path