go: set meta attribute for bootstrap binary derivation (#276857)
* go: set sourceProvenance for bootstrap binary * Update pkgs/development/compilers/go/binary.nix --------- Co-authored-by: zowoq <59103226+zowoq@users.noreply.github.com> Co-authored-by: Aleksana <me@aleksana.moe>
This commit is contained in:
parent
f24c130569
commit
0b68b152e2
@ -18,7 +18,7 @@ let
|
||||
|
||||
platform = toGoPlatform stdenv.hostPlatform;
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation {
|
||||
name = "go-${version}-${platform}-bootstrap";
|
||||
|
||||
src = fetchurl {
|
||||
@ -36,4 +36,14 @@ stdenv.mkDerivation rec {
|
||||
ln -s $out/share/go/bin/go $out/bin/go
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
|
||||
changelog = "https://go.dev/doc/devel/release#go${lib.versions.majorMinor version}";
|
||||
description = "The Go Programming language";
|
||||
homepage = "https://go.dev/";
|
||||
license = licenses.bsd3;
|
||||
maintainers = teams.golang.members;
|
||||
platforms = platforms.darwin ++ platforms.linux;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user