1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

goBuildPackage: export go

This is useful to make sure to use the same version of go in further
derivations.
This commit is contained in:
zimbatm 2016-06-09 14:47:12 +01:00 committed by Kamil Chmielewski
parent 3a41ffe8aa
commit f870d6aeb6

View file

@ -188,7 +188,9 @@ go.stdenv.mkDerivation (
disallowedReferences = lib.optional (!allowGoReference) go
++ lib.optional (!dontRenameImports) govers;
passthru = passthru // lib.optionalAttrs (goPackageAliases != []) { inherit goPackageAliases; };
passthru = passthru //
{ inherit go; } //
lib.optionalAttrs (goPackageAliases != []) { inherit goPackageAliases; };
enableParallelBuilding = enableParallelBuilding;