Commit Graph

632 Commits

Author SHA1 Message Date
github-actions[bot]
b3a0f2d3f1
Merge master into staging-next 2024-11-07 12:05:37 +00:00
zowoq
514bd9d740 go_1_23: 1.23.2 -> 1.23.3
Changelog: https://go.dev/doc/devel/release#go1.23
2024-11-07 12:32:29 +10:00
zowoq
5731759a98 go_1_22: 1.22.8 -> 1.22.9
Changelog: https://go.dev/doc/devel/release#go1.22
2024-11-07 12:29:28 +10:00
zowoq
05cf0c40b8 go: propagate the apple sdk 2024-10-11 11:42:54 +10:00
github-actions[bot]
5942e21e4e
Merge master into staging-next 2024-10-04 12:05:36 +00:00
techknowlogick
5c95fb4340 go_1_22: 1.22.7 -> 1.22.8
Changelog: https://go.dev/doc/devel/release#go1.22
2024-10-02 17:34:41 +10:00
techknowlogick
c76b345020 go_1_23: 1.23.1 -> 1.23.2
Changelog: https://go.dev/doc/devel/release#go1.23
2024-10-02 17:34:41 +10:00
Paul Meyer
6e839b8f99 go_1_21/buildGo121Module: remove
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-10-01 12:43:42 +02:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
github-actions[bot]
6802206bcc
Merge master into staging-next 2024-09-06 06:04:31 +00:00
techknowlogick
0e0665d1e0 go_1_23: 1.23.0 -> 1.23.1
Changelog: https://go.dev/doc/devel/release#go1.23
2024-09-06 13:18:20 +10:00
techknowlogick
4333fa1caa go_1_22: 1.22.6 -> 1.22.7
Changelog: https://go.dev/doc/devel/release#go1.22
2024-09-05 21:48:04 -04:00
aleksana
cc15cb63e6 go: fix eval for binary derivation
This was broken in https://github.com/NixOS/nixpkgs/pull/276857 commit
69aa113e45
2024-09-04 22:44:43 +08:00
linsui
0b68b152e2
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>
2024-09-04 22:27:27 +08:00
github-actions[bot]
1582d7624e
Merge staging-next into staging 2024-08-14 06:01:31 +00:00
techknowlogick
cf4f89ec3f go_1_23: 1.23rc2 -> 1.23.0
Changelog: https://go.dev/doc/devel/release#go1.23
2024-08-14 13:32:28 +10:00
github-actions[bot]
ef7633bf4d
Merge staging-next into staging 2024-08-08 00:02:59 +00:00
zowoq
ff0cc84833 go_1_22: 1.22.5 -> 1.22.6
Changelog: https://go.dev/doc/devel/release#go1.22
2024-08-07 09:08:32 +10:00
zowoq
fd0133851e go_1_21: 1.21.12 -> 1.21.13
Changelog: https://go.dev/doc/devel/release#go1.21
2024-08-07 08:55:19 +10:00
Sigmanificient
63d05d989e pkgs/development: remove unused arguments 2024-08-03 17:18:20 +02:00
Vladimír Čunát
577f40b8a9
Merge branch 'staging' into staging-next 2024-07-20 16:12:24 +02:00
Audrey Dutcher
8a6b6167bb go: support FreeBSD 2024-07-20 11:05:58 +10:00
Weijia Wang
078fdedf26 Merge branch 'staging-next' into staging 2024-07-17 13:10:23 +02:00
zowoq
5a7e12c85f go_1_23: 1.23rc1 -> 1.23rc2
Changelog: https://go.dev/doc/devel/release#go1.23
2024-07-17 10:11:28 +10:00
github-actions[bot]
a47e41c3cd
Merge staging-next into staging 2024-07-03 06:01:42 +00:00
github-actions[bot]
d33a11464d
Merge master into staging-next 2024-07-03 06:01:11 +00:00
Paul Meyer
4a509316fd
go_1_21: 1.21.11 -> 1.21.12 (#324126)
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-07-03 12:06:54 +10:00
Weijia Wang
89195a5313 Merge branch 'staging-next' into staging 2024-07-02 22:23:14 +02:00
Paul Meyer
5f95efa00f go: 1.22.4 -> 1.22.5
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-07-02 21:02:03 +02:00
zowoq
e2cb76e4ce
go: drop gccgo bootstrap, drop autoPatchelfHook from bootstrap (#322825)
bootstrap binaries are static since 1.21

Co-authored-by: Ivan Trubach <mr.trubach@icloud.com>
2024-06-29 12:26:32 +02:00
github-actions[bot]
cf7e625161
Merge master into staging-next 2024-06-26 12:01:11 +00:00
zowoq
2dbd8d8258 go_1_23: init at 1.23rc1 2024-06-26 17:35:45 +10:00
zowoq
4d88ae7b61 go: remove unused bootstraps 2024-06-26 17:35:45 +10:00
github-actions[bot]
c8c2ff3b9b
Merge staging-next into staging 2024-06-10 00:02:49 +00:00
Alexis Hildebrandt
f8c4a98e8e treewide: Remove the definite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"([Tt]he)? ' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Tt]he (.)/\1\U\2/'
2024-06-09 23:08:46 +02:00
Paul Meyer
4f7faf6b88
Merge pull request #317326 from qowoz/go122
go_1_22: 1.22.3 -> 1.22.4
2024-06-07 20:31:56 +02:00
zowoq
31c5a59bf4 go_1_22: 1.22.3 -> 1.22.4
Changelog: https://go.dev/doc/devel/release#go1.22
2024-06-05 12:17:33 +10:00
zowoq
c06c5c6f91 go_1_21: 1.21.10 -> 1.21.11
Changelog: https://go.dev/doc/devel/release#go1.21
2024-06-05 12:16:47 +10:00
Daniel Nagy
050df1a7e6
go: Support WASI platform
With this change it is now possible to build simple Go packages into
WebAssembly and WASI. For example, it is now possible to build
`wazero` to wasm:

```sh
$ file $(nix-build -A pkgsCross.wasi32.wazero --no-out-link)/bin/wazero
/nix/store/pzzzsnmyjjrxi8gmadksn99rgfbxqrp2-wazero-static-wasm32-unknown-wasi-1.7.2/bin/wazero: WebAssembly (wasm) binary module version 0x1 (MVP)
```

https://go.dev/blog/wasi
2024-05-29 00:45:00 +02:00
github-actions[bot]
81d4e8f74a
Merge staging-next into staging 2024-05-08 06:01:55 +00:00
R. Ryantm
ff0e307853 go: 1.22.2 -> 1.22.3 2024-05-08 13:43:57 +10:00
zowoq
6ca5c1af46 go_1_21: 1.21.9 -> 1.21.10
Changelog: https://go.dev/doc/devel/release#go1.21
2024-05-08 13:43:42 +10:00
Peder Bergebakken Sundt
db15bbc3d5
treewide: remove unreferenced patch files (#308127)
Found with `fd \\.patch$ pkgs/ -x bash -c 'rg -F "{/}" pkgs/ -q || echo {}'`
2024-05-02 12:41:45 +00:00
Weijia Wang
3f59355d84 Merge branch 'staging-next' into staging 2024-04-09 08:26:23 +02:00
Matthieu Daniel-Thomas
3174508c52 add powerpc64 arch 2024-04-08 09:41:17 +00:00
zowoq
abeb34f683 go_1_22: 1.22.1 -> 1.22.2
Changelog: https://go.dev/doc/devel/release#go1.22
2024-04-04 17:04:41 +10:00
zowoq
2d975504f2 go_1_21: 1.21.8 -> 1.21.9
Changelog: https://go.dev/doc/devel/release#go1.21
2024-04-04 08:18:31 +10:00
Martin Weinelt
7762462405
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
- pkgs/development/python-modules/flask-security-too/default.nix
2024-03-19 17:30:16 +01:00
Paul Meyer
28e94c518b go_1_20: remove
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-03-19 11:10:28 +01:00
Sandro
564045d5b5
Merge pull request #293563 from katexochen/go/update 2024-03-06 13:35:20 +01:00