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
+1 -1
View File
@@ -17,7 +17,7 @@
assert useSystemd -> (systemd != null);
assert pkcs11Support -> (pkcs11helper != null);
with stdenv.lib;
with lib;
let
# Check if the script needs to have other binaries wrapped when changing this.
update-resolved = fetchurl {
@@ -1,4 +1,4 @@
{ stdenv, fetchgit, makeWrapper, coreutils, gawk, util-linux }:
{ lib, stdenv, fetchgit, makeWrapper, coreutils, gawk, util-linux }:
stdenv.mkDerivation {
name = "openvpn-learnaddress-19b03c3";
@@ -15,13 +15,13 @@ stdenv.mkDerivation {
install -Dm555 ovpn-learnaddress $out/libexec/openvpn/openvpn-learnaddress
wrapProgram $out/libexec/openvpn/openvpn-learnaddress \
--prefix PATH : ${stdenv.lib.makeBinPath [ coreutils gawk util-linux ]}
--prefix PATH : ${lib.makeBinPath [ coreutils gawk util-linux ]}
'';
meta = {
description = "Openvpn learn-address script to manage a hosts-like file";
homepage = "https://gist.github.com/offlinehacker/4058733/";
maintainers = [ stdenv.lib.maintainers.offline ];
platforms = stdenv.lib.platforms.unix;
maintainers = [ lib.maintainers.offline ];
platforms = lib.platforms.unix;
};
}