pkgs/tools: stdenv.lib -> lib
This commit is contained in:
@@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user