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

@@ -23,11 +23,11 @@ python3Packages.buildPythonApplication rec {
checkInputs = with python3Packages; [ mock pytest pytestcov pytestrunner flake8 ];
runtimeDeps = [ coreutils openssh procps ] ++ stdenv.lib.optionals stdenv.isLinux [ iptables nettools ];
runtimeDeps = [ coreutils openssh procps ] ++ lib.optionals stdenv.isLinux [ iptables nettools ];
postInstall = ''
wrapProgram $out/bin/sshuttle \
--prefix PATH : "${stdenv.lib.makeBinPath runtimeDeps}" \
--prefix PATH : "${lib.makeBinPath runtimeDeps}" \
'';
meta = with lib; {