-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
go_1_19: init at 1.19 #181797
go_1_19: init at 1.19 #181797
Conversation
stdenv.mkDerivation rec {
pname = "go";
- version = "1.18.4";
+ version = "1.19rc2";
src = fetchurl {
url = "https://go.dev/dl/go${version}.src.tar.gz";
- sha256 = "sha256-RSWqaw487LV4RfQGCnB1qvyat1K7e2tM+KIS1DB44eQ=";
+ sha256 = "sha256-xo1wGaaguYUq4Oltfn3rdySSojJy/W0Tr+BbQMkS5Rs=";
};
strictDeps = true;
@@ -176,11 +176,10 @@
./remove-tools-1.11.patch
./ssl-cert-file-1.16.patch
./remove-test-pie-1.15.patch
- ./creds-test.patch
./skip-chown-tests-1.16.patch
./skip-external-network-tests-1.16.patch
./skip-nohup-tests.patch
- ./skip-cgo-tests-1.15.patch
+ ./skip-cgo-tests-1.19.patch
./go_no_vendor_checks-1.16.patch
];
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should take this opportunity to convert the file into a generic one. Copying it with every new go release just duplicates code.
buildGo119Package = darwin.apple_sdk_11_0.callPackage ../development/go-packages/generic { | ||
go = buildPackages.go_1_19; | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we really need thi?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we really need thi?
If you are asking if we need buildGo119Package
, as long as we are still using buildGoPackage
we need a versioned equivalent.
This has been discussed before and the |
Result of 1 package built:
|
Yeah with 2-3 go derivations is just simply easier to only have too look at one file rather than a generic function and one per go version. |
Thanks for the packaging work @zowoq! Do you know whether this will be backported in 22.05 or not? |
@xvello I don't see why not. Feel to create a backport PR. |
Thanks, I'll look into how to do so. |
go_1_19: init at 1.19
go_1_19: init at 1.19
go_1_19: init at 1.19
go_1_19: init at 1.19
go_1_19: init at 1.19
go_1_19: init at 1.19
go_1_19: init at 1.19
go_1_19: init at 1.19
Description of changes
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release noteshttps://go.dev/doc/go1.19