1
0
Fork 0
mirror of https://github.com/Mic92/sops-nix.git synced 2024-12-14 11:57:52 +00:00

fix sops-install-secrets with nixpkgs unstable

This commit is contained in:
Jörg Thalheim 2020-11-18 16:08:59 +01:00
parent 6a921737d4
commit 378fe484f9
No known key found for this signature in database
GPG key ID: 003F2096411B5F92

View file

@ -20,7 +20,10 @@ buildGoModule {
postBuild = ''
go test -c ./pkgs/sops-install-secrets
install -D ./sops-install-secrets.test $unittest/bin/sops-install-secrets.test
remove-references-to -t ${go} $unittest/bin/sops-install-secrets.test
# newer versions of nixpkgs no longer require this step
if command -v remove-references-to; then
remove-references-to -t ${go} $unittest/bin/sops-install-secrets.test
fi
'';
inherit vendorSha256;