Merge pull request #56500 from kalbasit/nixpkgs_add-support-go-1-12

go_1_12: init at go 1.12
This commit is contained in:
Jörg Thalheim
2019-03-04 14:22:27 +00:00
committed by GitHub
14 changed files with 278 additions and 11 deletions

View File

@@ -13,6 +13,8 @@ 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}'