Commit Graph

3 Commits

Author SHA1 Message Date
Tom Herbers
b27a12e4e2 go_1_27: 1.27rc2 -> 1.27rc3
Announcement: https://groups.google.com/g/golang-announce/c/6X8FgujJjUU
2026-08-14 00:29:48 +02:00
Tom Herbers
cc27836c63 go_1_27: 1.27rc1 -> 1.27rc2 2026-07-08 12:21:41 +02:00
Leon Klingele
67a70befab go_1_27: init at 1.27rc1
https://go.dev/doc/go1.27

fix: vet

The "nixpkgs-vet"[^0] CI job was failing before.

    - Attribute `pkgs.go_1_27` is a new top-level package using `pkgs.callPackage ./pkgs/development/compilers/go/1.27.nix { /* ... */ }`.
      Please define it in pkgs/by-name/go/go_1_27/package.nix instead.
      See `pkgs/by-name/README.md` for more details.
      Since the second `callPackage` argument is `{ }`, no manual `callPackage` in pkgs/top-level/all-packages.nix is needed anymore.
     (https://github.com/NixOS/nixpkgs-vet/wiki/NPV-162)
    This PR introduces additional instances of discouraged patterns as listed above. Please fix them before merging.
    error: Cannot build '/nix/store/69y050xrdffqxils57mrqw43cf90i0xf-nixpkgs-vet.drv'.
           Reason: builder failed with exit code 1.
           Output paths:
             /nix/store/kxrknx65q0abw9m5mhpcivwhggpwm7l3-nixpkgs-vet
           Last 6 log lines:
           > - Attribute `pkgs.go_1_27` is a new top-level package using `pkgs.callPackage ./pkgs/development/compilers/go/1.27.nix { /* ... */ }`.
           >   Please define it in pkgs/by-name/go/go_1_27/package.nix instead.
           >   See `pkgs/by-name/README.md` for more details.
           >   Since the second `callPackage` argument is `{ }`, no manual `callPackage` in pkgs/top-level/all-packages.nix is needed anymore.
           >  (https://github.com/NixOS/nixpkgs-vet/wiki/NPV-162)
           > This PR introduces additional instances of discouraged patterns as listed above. Please fix them before merging.
           For full logs, run:
             nix log /nix/store/69y050xrdffqxils57mrqw43cf90i0xf-nixpkgs-vet.drv
    To run locally: ./ci/nixpkgs-vet.sh master https://github.com/NixOS/nixpkgs.git
    If you're having trouble, ping @NixOS/nixpkgs-vet

Moving 1.27.nix into `pkgs/by-name/go/go_1_27/package.nix` is impractical because
the file references many sibling files in `pkgs/development/compilers/go/` (patches,
bootstrap files, etc.)

Follow `pkgs/by-name/README.md` and use `inherit` to please the vet linter.

[^0]: https://github.com/NixOS/nixpkgs/actions/runs/27820342521/job/82331726385?pr=533254#step:6:210
2026-06-23 10:39:49 +02:00