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
]}
'';

View file

@ -1,4 +1,4 @@
{ stdenv, buildGoModule, path, pkgs, vendorSha256, go }:
{ stdenv, lib, buildGoModule, path, pkgs, vendorSha256, go }:
buildGoModule {
pname = "sops-install-secrets";
version = "0.0.1";
@ -28,7 +28,7 @@ buildGoModule {
inherit vendorSha256;
meta = with stdenv.lib; {
meta = with lib; {
description = "Atomic secret provisioning based on sops";
homepage = "https://github.com/Mic92/sops-nix";
license = licenses.mit;

View file

@ -1,4 +1,4 @@
{ stdenv, buildGoModule, gnupg, vendorSha256, }:
{ stdenv, lib, buildGoModule, gnupg, vendorSha256, }:
buildGoModule {
pname = "ssh-to-pgp";
version = "0.0.1";
@ -16,7 +16,7 @@ buildGoModule {
inherit vendorSha256;
meta = with stdenv.lib; {
meta = with lib; {
description = "Convert ssh public/private keys to PGP";
homepage = "https://github.com/Mic92/sops-nix";
license = licenses.mit;