From 378fe484f9948364930aa31cfb6f560d0076648f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 18 Nov 2020 16:08:59 +0100 Subject: [PATCH] fix sops-install-secrets with nixpkgs unstable --- pkgs/sops-install-secrets/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/sops-install-secrets/default.nix b/pkgs/sops-install-secrets/default.nix index 16eb681..1e7a0dc 100644 --- a/pkgs/sops-install-secrets/default.nix +++ b/pkgs/sops-install-secrets/default.nix @@ -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;