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:
parent
3a41ffe8aa
commit
f870d6aeb6
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue