mirror of
https://github.com/Mic92/sops-nix.git
synced 2026-07-17 14:35:25 +08:00
pkgs: don't reference deprecated stdenv.lib
`stdenv.lib` has been deprecated in favor of using `lib` directly.
This commit is contained in:
parent
ab321bf72a
commit
dd7dfdcb6a
3 changed files with 6 additions and 6 deletions
|
|
@ -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
|
||||
]}
|
||||
'';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue