diff options
author | Wael Nasreddine <wael.nasreddine@gmail.com> | 2019-03-11 13:11:11 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-11 13:11:11 -0700 |
commit | c75cb87721bea02d01a03558a7b7f5aa5243e2b7 (patch) | |
tree | 4dc4a96af30b68c76f393fc8fc7487965b269bb4 /pkgs/tools | |
parent | 636910e56325333455eb6dfd3221bb20e17b04c3 (diff) | |
parent | 7cb4e4b343cbffd64cc690d708864a418ac88f83 (diff) | |
download | nixpkgs-c75cb87721bea02d01a03558a7b7f5aa5243e2b7.tar nixpkgs-c75cb87721bea02d01a03558a7b7f5aa5243e2b7.tar.gz nixpkgs-c75cb87721bea02d01a03558a7b7f5aa5243e2b7.tar.bz2 nixpkgs-c75cb87721bea02d01a03558a7b7f5aa5243e2b7.tar.lz nixpkgs-c75cb87721bea02d01a03558a7b7f5aa5243e2b7.tar.xz nixpkgs-c75cb87721bea02d01a03558a7b7f5aa5243e2b7.tar.zst nixpkgs-c75cb87721bea02d01a03558a7b7f5aa5243e2b7.zip |
Merge pull request #57296 from kalbasit/nixpkgs_go-fixes
Fixes to a few Go packages.
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/security/vault/default.nix | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/tools/security/vault/default.nix b/pkgs/tools/security/vault/default.nix index 92c757df22c..bf5d34a8dd1 100644 --- a/pkgs/tools/security/vault/default.nix +++ b/pkgs/tools/security/vault/default.nix @@ -13,8 +13,6 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ go gox removeReferencesTo ]; - GOCACHE="$TMPDIR/go-cache"; - preBuild = '' patchShebangs ./ substituteInPlace scripts/build.sh --replace 'git rev-parse HEAD' 'echo ${src.rev}' @@ -24,6 +22,7 @@ stdenv.mkDerivation rec { ln -s $(pwd) src/github.com/hashicorp/vault export GOPATH=$(pwd) + export GOCACHE="$TMPDIR/go-cache" ''; installPhase = '' |