pkgs: don't reference deprecated stdenv.lib

`stdenv.lib` has been deprecated in favor of using `lib` directly.
This commit is contained in:
Bernardo Meurer 2021-01-31 18:02:21 -08:00
parent ab321bf72a
commit dd7dfdcb6a
No known key found for this signature in database
GPG key ID: F4C0D53B8D14C246
3 changed files with 6 additions and 6 deletions

View file

@ -1,4 +1,4 @@
{ stdenv, makeWrapper, gnupg, coreutils, utillinux, unixtools }:
{ stdenv, lib, makeWrapper, gnupg, coreutils, utillinux, unixtools }:
stdenv.mkDerivation {
name = "sops-init-gpg-key";
@ -11,7 +11,7 @@ stdenv.mkDerivation {
installPhase = ''
install -m755 -D $src $out/bin/sops-init-gpg-key
wrapProgram $out/bin/sops-init-gpg-key \
--prefix PATH : ${stdenv.lib.makeBinPath [
--prefix PATH : ${lib.makeBinPath [
coreutils utillinux gnupg unixtools.hostname
]}
'';