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:
parent
6a921737d4
commit
378fe484f9
1 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue