Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
167 commits
Select commit Hold shift + click to select a range
1f4212d
python310Packages.pytz: 2023.2 -> 2023.3
dotlambda Apr 13, 2023
040f19b
opencl-headers: 2023.02.06 -> 2023.04.17
r-ryantm Apr 20, 2023
2bb0f80
gtest: 1.12.1 -> 1.13.0
cbourjau Apr 25, 2023
293b0f4
libcap: 2.67 -> 2.68
r-ryantm Apr 27, 2023
6268198
harfbuzz: 7.1.0 -> 7.2.0
r-ryantm Apr 28, 2023
352e17b
iproute2: 6.2.0 -> 6.3.0
r-ryantm Apr 29, 2023
de9cb16
python310Packages.beautifulsoup4: 4.11.2 -> 4.12.2
fabaff Apr 29, 2023
d0f13ef
python310Packages.responses: 0.22.0 -> 0.23.1
fabaff Apr 29, 2023
4a7ab82
icu73: init at 73.1
marsam Apr 30, 2023
e89be81
icu: 72.1 -> 73.1
marsam Apr 30, 2023
2222808
libimagequant: 4.1.1 -> 4.2.0
marsam May 1, 2023
3455cf2
harfbuzz: add changelog to meta
marsam May 1, 2023
2f22381
Merge staging-next into staging
github-actions[bot] May 2, 2023
cc68f31
Merge pull request #229301 from marsam/update-libimagequant
marsam May 2, 2023
4bdcbda
Merge pull request #229296 from marsam/update-icu
marsam May 2, 2023
d5a657f
Merge staging-next into staging
github-actions[bot] May 2, 2023
5d6f023
meson: apply fix for detect_voidp_size
MaxHearnden May 2, 2023
ac5c846
Merge staging-next into staging
github-actions[bot] May 3, 2023
d2b3b41
Merge pull request #228471 from r-ryantm/auto-update/libcap
delroth May 3, 2023
8be03ae
Merge staging-next into staging
github-actions[bot] May 3, 2023
02dfea9
libjpeg: 2.1.4 -> 2.1.5.1
r-ryantm May 3, 2023
83d1459
llvmPackages_git.llvm: backport patch for musl 1.2.4
alyssais Apr 30, 2023
776ba7a
llvm_15: backport patch for musl 1.2.4
alyssais Apr 30, 2023
7a9443a
llvm_14: backport patch for musl 1.2.4
alyssais Apr 30, 2023
0bcf8ae
llvm_13: backport patch for musl 1.2.4
alyssais Apr 30, 2023
45093ea
llvm_12: backport patch for musl 1.2.4
alyssais Apr 30, 2023
2a859f5
llvm_11: backport patch for musl 1.2.4
alyssais Apr 30, 2023
fe65411
llvm_10: backport patch for musl 1.2.4
alyssais Apr 30, 2023
768007c
llvm_9: backport patch for musl 1.2.4
alyssais Apr 30, 2023
d93bd8e
llvm_8: backport patch for musl 1.2.4
alyssais Apr 30, 2023
f6b5061
llvm_7: backport patch for musl 1.2.4
alyssais Apr 30, 2023
12d4b4a
llvm_6: backport patch for musl 1.2.4
alyssais Apr 30, 2023
ad10899
llvm_5: backport patch for musl 1.2.4
alyssais Apr 30, 2023
50f7da3
Merge staging-next into staging
github-actions[bot] May 3, 2023
fe39eeb
Merge staging-next into staging
github-actions[bot] May 3, 2023
788d0cb
Merge pull request #229528 from MaxHearnden/detect_voidp_size
lilyinstarlight May 3, 2023
668b20d
Revert "git: fix in completion scripts references to environment utils"
ShamrockLee May 3, 2023
b03cc9c
Revert "git: also patch the ls command for git-core scripts"
ShamrockLee May 2, 2023
72dd6c7
Merge staging-next into staging
github-actions[bot] May 3, 2023
834b6fb
Revert "tomlplusplus: apply fix for detect_voidp_size"
MaxHearnden May 3, 2023
7462e96
Merge pull request #229671 from MaxHearnden/revert-tomlplusplus
lilyinstarlight May 3, 2023
094aeff
go_1_20: 1.20.3 -> 1.20.4
zowoq May 2, 2023
53b268a
cc-wrapper: support `--`
rrbutani May 3, 2023
40c914f
cc-wrapper-test: add tests for `--`
rrbutani May 3, 2023
08b4149
python311Packages.rich: 13.3.1 -> 13.3.5
fabaff May 3, 2023
1df91a6
python311Packages.textual: 0.15.1 -> 0.23.0
fabaff May 3, 2023
59e3c77
python310Packages.pyasn1-modules: 0.2.8 -> 0.3.0
fabaff Apr 30, 2023
f99abaa
python310Packages.pyasn1: 0.4.8 -> 0.5.0
fabaff Apr 30, 2023
9edd42e
python310Packages.requests: 2.28.2 -> 2.29.0
fabaff May 3, 2023
73f143e
Merge pull request #226080 from dotlambda/pytz-2023.3
mweinelt May 3, 2023
ffc1ef2
Merge staging-next into staging
github-actions[bot] May 4, 2023
12a4c5d
hwdata: 0.369 -> 0.370
PedroHLC May 4, 2023
8bbf413
Merge pull request #229012 from fabaff/beautifulsoup4-bump
risicle May 4, 2023
d0ef78a
python310Packages.orjson: 3.8.9 -> 3.8.11
mweinelt May 4, 2023
8f73b48
imlib2: 1.10.0 -> 1.11.1
r-ryantm May 4, 2023
ecef8c9
Merge staging-next into staging
github-actions[bot] May 4, 2023
d36cd85
Revert "linux_6_1: rebuild on x86_64-linux"
vcunat May 4, 2023
55541e6
Merge pull request #229813 from mweinelt/orjson-3.8.10
mweinelt May 4, 2023
519b94e
Merge staging-next into staging
github-actions[bot] May 4, 2023
4e84de9
ruby_3_0: unpin openssl_1_1
NickCao May 4, 2023
6538d97
python310Packages.django_3: 3.2.18 -> 3.2.19
mweinelt May 4, 2023
3d2bdd0
python: implement PEP 668 (#229166)
zimbatm May 4, 2023
1a2b845
Merge staging-next into staging
github-actions[bot] May 4, 2023
ad6906f
doxygen: enable sqlite3 output
abathur Apr 21, 2023
a6a8834
doxygen: use apple_sdk_11_0
abathur Apr 22, 2023
e5c113e
doxygen: add output for examples
abathur Apr 22, 2023
182b218
Merge pull request #229893 from mweinelt/django-3.2.19
mweinelt May 4, 2023
1b6078a
nixos/no-x-libs: add pipewire
SuperSandro2000 Apr 30, 2023
9063907
pipewire: disable options which depend on x11 if it is disabled
SuperSandro2000 Apr 30, 2023
57ee58c
Merge pull request #229026 from SuperSandro2000/nox-pipewire
K900 May 4, 2023
63157d1
Merge pull request #229816 from r-ryantm/auto-update/imlib2
risicle May 4, 2023
1b8f239
Merge staging-next into staging
github-actions[bot] May 5, 2023
e204236
Merge pull request #229623 from r-ryantm/auto-update/libjpeg
risicle May 5, 2023
2af8766
Merge staging-next into staging
github-actions[bot] May 5, 2023
2181c1e
Merge staging-next into staging
github-actions[bot] May 5, 2023
576c04a
cpio: 2.13 -> 2.14
eliasnaur May 1, 2023
cfd8765
Merge staging-next into staging
github-actions[bot] May 5, 2023
3c75a19
Merge pull request #228209 from cbourjau/update-gtest
SuperSandro2000 May 5, 2023
ddde6af
Merge pull request #229761 from fabaff/textual-bump
risicle May 5, 2023
b7352f9
Merge pull request #229017 from fabaff/responses-bump
fabaff May 5, 2023
cc29fa7
Merge pull request #229765 from fabaff/requests-bump
fabaff May 5, 2023
db90c55
Merge pull request #227630 from fabaff/pyasn1-bump
fabaff May 5, 2023
2376eb8
libbpf: 1.1.0 -> 1.2.0
martinetd May 2, 2023
5e8a272
nixosTests.bpf: disable kfunc test on aarch64
martinetd Feb 4, 2023
76e7973
Merge staging-next into staging
github-actions[bot] May 6, 2023
bc4549f
cacert: 3.86 -> 3.89.1
mweinelt May 6, 2023
b679a61
Merge staging-next into staging
github-actions[bot] May 6, 2023
023a782
xz: 5.4.2 -> 5.4.3
r-ryantm May 6, 2023
1fd0032
Merge staging-next into staging
github-actions[bot] May 6, 2023
5303a4d
Merge pull request #229377 from eliasnaur/cpio-2.14
risicle May 6, 2023
3d40c1b
Merge pull request #229458 from martinetd/libbpf
risicle May 6, 2023
1edcdf3
Merge staging-next into staging
github-actions[bot] May 6, 2023
d760529
Merge pull request #228918 from r-ryantm/auto-update/iproute2
mweinelt May 6, 2023
5a11b29
Merge pull request #230230 from mweinelt/cacert-3.89.1
mweinelt May 6, 2023
dee3e56
Merge pull request #229890 from NickCao/ruby-openssl
mweinelt May 6, 2023
a0eb573
Merge staging-next into staging
github-actions[bot] May 7, 2023
69b5f7b
Merge staging-next into staging
github-actions[bot] May 7, 2023
7b8084a
Merge staging-next into staging
github-actions[bot] May 7, 2023
aece2b1
libssh: 0.10.4 -> 0.10.5
r-ryantm May 7, 2023
aa239dc
Merge master into staging-next
github-actions[bot] May 7, 2023
048e91e
Merge staging-next into staging
github-actions[bot] May 7, 2023
416f268
acl: backport patch for musl 1.2.4
alyssais Apr 30, 2023
1124a75
xorg.libpciaccess: backport patch for musl 1.2.4
alyssais Apr 30, 2023
ad28c1e
gdb: backport patch for musl 1.2.4
alyssais May 3, 2023
34629fc
python3.pkgs.deprecated: build offline documentation
Jan 4, 2023
edbfb3e
Merge pull request #230280 from r-ryantm/auto-update/xz
mweinelt May 7, 2023
91256b8
Merge master into staging-next
github-actions[bot] May 8, 2023
4532c72
Merge staging-next into staging
github-actions[bot] May 8, 2023
ea2bc2c
Merge master into staging-next
github-actions[bot] May 8, 2023
e779904
Merge staging-next into staging
github-actions[bot] May 8, 2023
f4868c6
Merge pull request #229754 from rrbutani/fix/cc-wrapper-extra-positio…
Ericson2314 May 8, 2023
969118f
Merge pull request #228746 from r-ryantm/auto-update/arcanPackages.ha…
marsam May 8, 2023
7595406
Merge master into staging-next
github-actions[bot] May 8, 2023
487f1a7
Merge staging-next into staging
github-actions[bot] May 8, 2023
7d61d75
Merge pull request #227168 from r-ryantm/auto-update/opencl-headers
marsam May 8, 2023
4d15632
linuxManualConfig: fix inaccurate FIXME comment
alyssais May 8, 2023
3ae5675
Merge pull request #230679 from alyssais/linux-pwd
K900 May 8, 2023
ee4a1a8
flit: disable tests for PEP 668 (#230706)
zimbatm May 8, 2023
fe607c7
Merge master into staging-next
github-actions[bot] May 8, 2023
54295bf
Merge staging-next into staging
github-actions[bot] May 8, 2023
cc8e3e9
Merge pull request #229540 from ShamrockLee/git-fix-ls
SuperSandro2000 May 8, 2023
8d4f643
linux: enable CR50 TPM found on chromebooks
jmbaur Apr 24, 2023
8b6a833
Merge master into staging-next
github-actions[bot] May 9, 2023
5b562cf
Merge staging-next into staging
github-actions[bot] May 9, 2023
fd24562
Merge master into staging-next
github-actions[bot] May 9, 2023
b872b6b
Merge staging-next into staging
github-actions[bot] May 9, 2023
f3995ce
gcc: install info files serially
raboof May 4, 2023
a33b57c
Merge master into staging-next
github-actions[bot] May 9, 2023
b5b52a9
Merge staging-next into staging
github-actions[bot] May 9, 2023
a53aae8
Merge pull request #230534 from r-ryantm/auto-update/libssh
mweinelt May 9, 2023
850af72
Merge master into staging-next
github-actions[bot] May 10, 2023
2d07e76
Merge staging-next into staging
github-actions[bot] May 10, 2023
c676f3e
Merge master into staging-next
github-actions[bot] May 10, 2023
c3e1961
Merge staging-next into staging
github-actions[bot] May 10, 2023
493af74
Merge #229772: hwdata: 0.369 -> 0.370
vcunat May 10, 2023
ae8dfea
Merge #227485: doxygen: enable sqlite3 output
vcunat May 10, 2023
ae3f6c9
Merge #229898: gcc: install info files serially
vcunat May 10, 2023
87681f7
Revert "gnupg: 2.4.0 -> 2.4.1"
vcunat May 10, 2023
2bb62dd
Merge #231023: Revert #229168 "gnupg: 2.4.0 -> 2.4.1"
vcunat May 10, 2023
9e15b1f
Merge branch 'staging' into staging-next
vcunat May 10, 2023
7187401
Merge master into staging-next
github-actions[bot] May 10, 2023
0f8d279
python310Packages.aiohttp: remove pytest-xdist again and add a commen…
SuperSandro2000 May 10, 2023
bb7edf8
Revert Merge #228209: gtest: 1.12.1 -> 1.13.0
vcunat May 10, 2023
2c13be0
Merge pull request #231076 from SuperSandro2000/aiohttp-xdist
mweinelt May 10, 2023
079dc4c
Merge master into staging-next
github-actions[bot] May 11, 2023
d16e82b
Merge master into staging-next
github-actions[bot] May 11, 2023
5338975
python310Packages.twisted: remove half broken pyasn1 integration
SuperSandro2000 May 11, 2023
387f5d9
Merge master into staging-next
github-actions[bot] May 11, 2023
065a145
ruby_3_0: pin to openssl_1_1
NickCao May 11, 2023
52275ec
Merge #231253: python310Packages.twisted: remove pyasn1
vcunat May 11, 2023
3171986
Merge #231284: ruby_3_0: pin to openssl_1_1
vcunat May 11, 2023
6b68b44
Revert Merge #227168: opencl-headers: 2023.02.06 -> 2023.04.17
vcunat May 11, 2023
b9c14e0
Merge master into staging-next
github-actions[bot] May 11, 2023
84352fc
Merge master into staging-next
github-actions[bot] May 12, 2023
3afde33
Merge master into staging-next
github-actions[bot] May 12, 2023
0a82cd9
Merge master into staging-next
github-actions[bot] May 12, 2023
4b94393
python310Packages.cachecontrol: Fix tests with requests 2.29.0
mweinelt May 12, 2023
30ae839
Merge master into staging-next
github-actions[bot] May 12, 2023
206417b
Merge master into staging-next
github-actions[bot] May 12, 2023
2f665c3
Merge master into staging-next
github-actions[bot] May 13, 2023
0b21b8d
Merge master into staging-next
github-actions[bot] May 13, 2023
2f14e73
python3Packages.python3-saml: patch a date-sensitive test
vcunat May 13, 2023
11572cf
python310Packages.wagtail: relax beautifulsoup4 constraint
mweinelt May 13, 2023
62aa23a
Merge pull request #231650 from mweinelt/wagtail-bs4-relax
mweinelt May 13, 2023
51e24f4
Merge master into staging-next
github-actions[bot] May 13, 2023
1ba92fc
Merge branch 'master' into staging-next
vcunat May 13, 2023
021f9a2
Merge master into staging-next
github-actions[bot] May 13, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions nixos/doc/manual/release-notes/rl-2305.section.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ In addition to numerous new and upgraded packages, this release has the followin

- KDE Plasma has been updated to v5.27, see [the release notes](https://kde.org/announcements/plasma/5/5.27.0/) for what is changed.

- Python implements [PEP 668](https://peps.python.org/pep-0668/), providing better feedback to users that try to run `pip install` system-wide.

- `nixos-rebuild` now supports an extra `--specialisation` option that can be used to change specialisation for `switch` and `test` commands.

- `libxcrypt`, the library providing the `crypt(3)` password hashing function, is now built without support for algorithms not flagged [`strong`](https://github.com/besser82/libxcrypt/blob/v4.4.33/lib/hashes.conf#L48). This affects the availability of password hashing algorithms used for system login (`login(1)`, `passwd(1)`), but also Apache2 Basic-Auth, Samba, OpenLDAP, Dovecot, and [many other packages](https://github.com/search?q=repo%3ANixOS%2Fnixpkgs%20libxcrypt&type=code).
Expand Down
1 change: 1 addition & 0 deletions nixos/modules/config/no-x-libs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ with lib;
networkmanager-vpnc = super.networkmanager-vpnc.override { withGnome = false; };
pango = super.pango.override { x11Support = false; };
pinentry = super.pinentry.override { enabledFlavors = [ "curses" "tty" "emacs" ]; withLibsecret = false; };
pipewire = super.pipewire.override { x11Support = false; };
qemu = super.qemu.override { gtkSupport = false; spiceSupport = false; sdlSupport = false; };
qrencode = super.qrencode.overrideAttrs (_: { doCheck = false; });
qt5 = super.qt5.overrideScope (const (super': {
Expand Down
7 changes: 5 additions & 2 deletions nixos/tests/bpf.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,11 @@ import ./make-test-python.nix ({ pkgs, ... }: {
" printf(\"tgid: %d\", ((struct task_struct*) curtask)->tgid); exit() "
"}'"))
# module BTF (bpftrace >= 0.17)
print(machine.succeed("bpftrace -e 'kfunc:nft_trans_alloc_gfp { "
" printf(\"portid: %d\\n\",args->ctx->portid); "
# test is currently disabled on aarch64 as kfunc does not work there yet
# https://github.com/iovisor/bpftrace/issues/2496
print(machine.succeed("uname -m | grep aarch64 || "
"bpftrace -e 'kfunc:nft_trans_alloc_gfp { "
" printf(\"portid: %d\\n\", args->ctx->portid); "
"} BEGIN { exit() }'"))
'';
})
7 changes: 2 additions & 5 deletions pkgs/applications/version-management/git/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -186,14 +186,12 @@ stdenv.mkDerivation (finalAttrs: {

# Fix references to the perl, sed, awk and various coreutil binaries used by
# shell scripts that git calls (e.g. filter-branch)
# and completion scripts
SCRIPT="$(cat <<'EOS'
BEGIN{
@a=(
'${gnugrep}/bin/grep', '${gnused}/bin/sed', '${gawk}/bin/awk',
'${coreutils}/bin/cut', '${coreutils}/bin/basename', '${coreutils}/bin/dirname',
'${coreutils}/bin/wc', '${coreutils}/bin/tr',
'${coreutils}/bin/ls'
'${coreutils}/bin/wc', '${coreutils}/bin/tr'
${lib.optionalString perlSupport ", '${perlPackages.perl}/bin/perl'"}
);
}
Expand All @@ -204,8 +202,7 @@ stdenv.mkDerivation (finalAttrs: {
EOS
)"
perl -0777 -i -pe "$SCRIPT" \
$out/libexec/git-core/git-{sh-setup,filter-branch,merge-octopus,mergetool,quiltimport,request-pull,submodule,subtree,web--browse} \
$out/share/bash-completion/completions/{git,gitk}
$out/libexec/git-core/git-{sh-setup,filter-branch,merge-octopus,mergetool,quiltimport,request-pull,submodule,subtree,web--browse}


# Also put git-http-backend into $PATH, so that we can use smart
Expand Down
18 changes: 18 additions & 0 deletions pkgs/build-support/cc-wrapper/cc-wrapper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ cInclude=1
expandResponseParams "$@"
linkType=$(checkLinkType "${params[@]}")

declare -ag positionalArgs=()
declare -i n=0
nParams=${#params[@]}
while (( "$n" < "$nParams" )); do
Expand All @@ -54,6 +55,17 @@ while (( "$n" < "$nParams" )); do
c++*) isCxx=1 ;;
esac
;;
--) # Everything else is positional args!
# See: https://github.com/llvm/llvm-project/commit/ed1d07282cc9d8e4c25d585e03e5c8a1b6f63a74

# Any positional arg (i.e. any argument after `--`) will be
# interpreted as a "non flag" arg:
if [[ -v "params[$n]" ]]; then nonFlagArgs=1; fi

positionalArgs=("${params[@]:$n}")
params=("${params[@]:0:$((n - 1))}")
break;
;;
-?*) ;;
*) nonFlagArgs=1 ;; # Includes a solitary dash (`-`) which signifies standard input; it is not a flag
esac
Expand Down Expand Up @@ -207,6 +219,12 @@ if [ "$cc1" = 1 ]; then
extraBefore=()
fi

# Finally, if we got any positional args, append them to `extraAfter`
# now:
if [[ "${#positionalArgs[@]}" -gt 0 ]]; then
extraAfter+=(-- "${positionalArgs[@]}")
fi

# Optionally print debug info.
if (( "${NIX_DEBUG:-0}" >= 1 )); then
# Old bash workaround, see ld-wrapper for explanation.
Expand Down
4 changes: 2 additions & 2 deletions pkgs/data/misc/cacert/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ let
]));
extraCertificatesBundle = writeText "cacert-extra-certificates-bundle.crt" (lib.concatStringsSep "\n\n" extraCertificateStrings);

srcVersion = "3.86";
srcVersion = "3.89.1";
version = if nssOverride != null then nssOverride.version else srcVersion;
meta = with lib; {
homepage = "https://curl.haxx.se/docs/caextract.html";
Expand All @@ -45,7 +45,7 @@ let

src = if nssOverride != null then nssOverride.src else fetchurl {
url = "mirror://mozilla/security/nss/releases/NSS_${lib.replaceStrings ["."] ["_"] version}_RTM/src/nss-${version}.tar.gz";
sha256 = "sha256-PzhfxoZHa7uoEQNfpoIbVCR11VdHsYwgwiHU1mVzuXU=";
hash = "sha256-OtrtuecMPF9AYDv2CgHjNhkKbb4Bkp05XxawH+hKAVY=";
};

dontBuild = true;
Expand Down
1 change: 1 addition & 0 deletions pkgs/development/compilers/gcc/10/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ let majorVersion = "10";
sha256 = "0sd52c898msqg7m316zp0ryyj7l326cjcn2y19dcxqp15r74qj0g";
})
../11/fix-struct-redefinition-on-glibc-2.36.patch
../install-info-files-serially.patch
] ++ optional (targetPlatform != hostPlatform) ../libstdc++-target.patch
++ optional noSysDirs ../no-sys-dirs.patch
++ optional (noSysDirs && hostPlatform.isRiscV) ../no-sys-dirs-riscv.patch
Expand Down
1 change: 1 addition & 0 deletions pkgs/development/compilers/gcc/11/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ let majorVersion = "11";
sha256 = "0sd52c898msqg7m316zp0ryyj7l326cjcn2y19dcxqp15r74qj0g";
})
./fix-struct-redefinition-on-glibc-2.36.patch
../install-info-files-serially.patch
] ++ optional (targetPlatform != hostPlatform) ../libstdc++-target.patch
++ optional noSysDirs ../no-sys-dirs.patch
++ optional (noSysDirs && hostPlatform.isRiscV) ../no-sys-dirs-riscv.patch
Expand Down
1 change: 1 addition & 0 deletions pkgs/development/compilers/gcc/12/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ let majorVersion = "12";
../gnat-cflags-11.patch
../gcc-12-gfortran-driving.patch
../ppc-musl.patch
../install-info-files-serially.patch
]
# We only apply this patch when building a native toolchain for aarch64-darwin, as it breaks building
# a foreign one: https://github.com/iains/gcc-12-branch/issues/18
Expand Down
1 change: 1 addition & 0 deletions pkgs/development/compilers/gcc/4.8/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ let majorVersion = "4";
../struct-ucontext-4.8.patch
../sigsegv-not-declared.patch
../res_state-not-declared.patch
../install-info-files-serially.patch
# gcc-11 compatibility
(fetchpatch {
name = "gcc4-char-reload.patch";
Expand Down
1 change: 1 addition & 0 deletions pkgs/development/compilers/gcc/4.9/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ let majorVersion = "4";
[ ../9/fix-struct-redefinition-on-glibc-2.36.patch ../use-source-date-epoch.patch
../parallel-bconfig.patch ./parallel-strsignal.patch
./libsanitizer.patch
../install-info-files-serially.patch
(fetchpatch {
name = "avoid-ustat-glibc-2.28.patch";
url = "https://gitweb.gentoo.org/proj/gcc-patches.git/plain/4.9.4/gentoo/100_all_avoid-ustat-glibc-2.28.patch?id=55fcb515620a8f7d3bb77eba938aa0fcf0d67c96";
Expand Down
1 change: 1 addition & 0 deletions pkgs/development/compilers/gcc/6/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ let majorVersion = "6";
url = "https://gcc.gnu.org/git/?p=gcc.git;a=patch;h=de31f5445b12fd9ab9969dc536d821fe6f0edad0";
sha256 = "0sd52c898msqg7m316zp0ryyj7l326cjcn2y19dcxqp15r74qj0g";
})
../install-info-files-serially.patch
] ++ optional (targetPlatform != hostPlatform) ../libstdc++-target.patch
++ optional noSysDirs ../no-sys-dirs.patch
++ optional langAda ../gnat-cflags.patch
Expand Down
1 change: 1 addition & 0 deletions pkgs/development/compilers/gcc/7/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ let majorVersion = "7";
})

../9/fix-struct-redefinition-on-glibc-2.36.patch
../install-info-files-serially.patch
]
++ optional (targetPlatform != hostPlatform) ../libstdc++-target.patch
++ optionals targetPlatform.isNetBSD [
Expand Down
1 change: 1 addition & 0 deletions pkgs/development/compilers/gcc/8/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ let majorVersion = "8";
sha256 = "0sd52c898msqg7m316zp0ryyj7l326cjcn2y19dcxqp15r74qj0g";
})
../9/fix-struct-redefinition-on-glibc-2.36.patch
../install-info-files-serially.patch
] ++ optional (targetPlatform != hostPlatform) ../libstdc++-target.patch
++ optional targetPlatform.isNetBSD ../libstdc++-netbsd-ctypes.patch
++ optional noSysDirs ../no-sys-dirs.patch
Expand Down
1 change: 1 addition & 0 deletions pkgs/development/compilers/gcc/9/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ let majorVersion = "9";
url = "https://gcc.gnu.org/git/?p=gcc.git;a=patch;h=de31f5445b12fd9ab9969dc536d821fe6f0edad0";
sha256 = "0sd52c898msqg7m316zp0ryyj7l326cjcn2y19dcxqp15r74qj0g";
})
../install-info-files-serially.patch
] ++ optional (targetPlatform != hostPlatform) ../libstdc++-target.patch
++ optional targetPlatform.isNetBSD ../libstdc++-netbsd-ctypes.patch
++ optional noSysDirs ../no-sys-dirs.patch
Expand Down
15 changes: 15 additions & 0 deletions pkgs/development/compilers/gcc/install-info-files-serially.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
diff -Naur gcc-12.2.0/gcc/Makefile.in gcc-12.2.0-new/gcc/Makefile.in
--- gcc-12.2.0/gcc/Makefile.in 2022-08-19 10:09:52.280658631 +0200
+++ gcc-12.2.0-new/gcc/Makefile.in 2023-05-04 14:35:44.401420184 +0200
@@ -3781,6 +3781,11 @@
fi; \
fi

+# We don't care about the order in which the info files are built, but
+# install-info doesn't support multiple parallel invocations writing to
+# the same `dir-file`, so we have to disable parallelism for that reason:
+.NOTPARALLEL: install-info
+
# Install the info files.
# $(INSTALL_DATA) might be a relative pathname, so we can't cd into srcdir
# to do the install.
4 changes: 2 additions & 2 deletions pkgs/development/compilers/go/1.20.nix
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ let
in
stdenv.mkDerivation rec {
pname = "go";
version = "1.20.3";
version = "1.20.4";

src = fetchurl {
url = "https://go.dev/dl/go${version}.src.tar.gz";
hash = "sha256-5Ee0mM3lAhXE92GeUSSw/E4l+10W6kcnHEfyeOeqdjo=";
hash = "sha256-nzSs4Sh2S3o6SyOLgFhWzBshhDBN+eVpCCWwcQ9CAtY=";
};

strictDeps = true;
Expand Down
7 changes: 7 additions & 0 deletions pkgs/development/compilers/llvm/10/llvm/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,13 @@ in stdenv.mkDerivation (rec {
sha256 = "1kckghvsngs51mqm82asy0s9vr19h8aqbw43a0w44mccqw6bzrwf";
stripLen = 1;
})

# Fix musl build.
(fetchpatch {
url = "https://github.com/llvm/llvm-project/commit/5cd554303ead0f8891eee3cd6d25cb07f5a7bf67.patch";
relative = "llvm";
hash = "sha256-XPbvNJ45SzjMGlNUgt/IgEvM2dHQpDOe6woUJY+nUYA=";
})
] ++ lib.optional enablePolly ./gnu-install-dirs-polly.patch;

postPatch = optionalString stdenv.isDarwin ''
Expand Down
7 changes: 7 additions & 0 deletions pkgs/development/compilers/llvm/11/llvm/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,13 @@ in stdenv.mkDerivation (rec {
sha256 = "1kckghvsngs51mqm82asy0s9vr19h8aqbw43a0w44mccqw6bzrwf";
stripLen = 1;
})

# Fix musl build.
(fetchpatch {
url = "https://github.com/llvm/llvm-project/commit/5cd554303ead0f8891eee3cd6d25cb07f5a7bf67.patch";
relative = "llvm";
hash = "sha256-XPbvNJ45SzjMGlNUgt/IgEvM2dHQpDOe6woUJY+nUYA=";
})
] ++ lib.optional enablePolly ./gnu-install-dirs-polly.patch;

postPatch = optionalString stdenv.isDarwin ''
Expand Down
7 changes: 7 additions & 0 deletions pkgs/development/compilers/llvm/12/llvm/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,13 @@ in stdenv.mkDerivation (rec {
sha256 = "sha256:12s8vr6ibri8b48h2z38f3afhwam10arfiqfy4yg37bmc054p5hi";
stripLen = 1;
})

# Fix musl build.
(fetchpatch {
url = "https://github.com/llvm/llvm-project/commit/5cd554303ead0f8891eee3cd6d25cb07f5a7bf67.patch";
relative = "llvm";
hash = "sha256-XPbvNJ45SzjMGlNUgt/IgEvM2dHQpDOe6woUJY+nUYA=";
})
] ++ lib.optional enablePolly ./gnu-install-dirs-polly.patch;

postPatch = optionalString stdenv.isDarwin ''
Expand Down
7 changes: 7 additions & 0 deletions pkgs/development/compilers/llvm/13/llvm/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,13 @@ in stdenv.mkDerivation (rec {
sha256 = "18l6mrvm2vmwm77ckcnbjvh6ybvn72rhrb799d4qzwac4x2ifl7g";
stripLen = 1;
})

# Fix musl build.
(fetchpatch {
url = "https://github.com/llvm/llvm-project/commit/5cd554303ead0f8891eee3cd6d25cb07f5a7bf67.patch";
relative = "llvm";
hash = "sha256-XPbvNJ45SzjMGlNUgt/IgEvM2dHQpDOe6woUJY+nUYA=";
})
] ++ lib.optional enablePolly ./gnu-install-dirs-polly.patch;

postPatch = optionalString stdenv.isDarwin ''
Expand Down
7 changes: 7 additions & 0 deletions pkgs/development/compilers/llvm/14/llvm/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,13 @@ in stdenv.mkDerivation (rec {

patches = [
./gnu-install-dirs.patch

# Fix musl build.
(fetchpatch {
url = "https://github.com/llvm/llvm-project/commit/5cd554303ead0f8891eee3cd6d25cb07f5a7bf67.patch";
relative = "llvm";
hash = "sha256-XPbvNJ45SzjMGlNUgt/IgEvM2dHQpDOe6woUJY+nUYA=";
})
] ++ lib.optional enablePolly ./gnu-install-dirs-polly.patch;

postPatch = optionalString stdenv.isDarwin ''
Expand Down
7 changes: 7 additions & 0 deletions pkgs/development/compilers/llvm/15/llvm/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,13 @@ in stdenv.mkDerivation (rec {
# It's not clear to me why this isn't an issue for LLVM developers running
# on macOS (nothing about this _seems_ nix specific)..
./lit-shell-script-runner-set-dyld-library-path.patch

# Fix musl build.
(fetchpatch {
url = "https://github.com/llvm/llvm-project/commit/5cd554303ead0f8891eee3cd6d25cb07f5a7bf67.patch";
relative = "llvm";
hash = "sha256-XPbvNJ45SzjMGlNUgt/IgEvM2dHQpDOe6woUJY+nUYA=";
})
] ++ lib.optionals enablePolly [
./gnu-install-dirs-polly.patch

Expand Down
2 changes: 2 additions & 0 deletions pkgs/development/compilers/llvm/5/llvm/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ stdenv.mkDerivation (rec {
sha256 = "0zjfjgavqzi2ypqwqnlvy6flyvdz8hi1anwv0ybwnm2zqixg7za3";
stripLen = 1;
})

../../llvm-7-musl.patch
] ++ lib.optional enablePolly ./gnu-install-dirs-polly.patch;

postPatch = optionalString stdenv.isDarwin ''
Expand Down
2 changes: 2 additions & 0 deletions pkgs/development/compilers/llvm/6/llvm/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ stdenv.mkDerivation (rec {
sha256 = "0zjfjgavqzi2ypqwqnlvy6flyvdz8hi1anwv0ybwnm2zqixg7za3";
stripLen = 1;
})

../../llvm-7-musl.patch
] ++ lib.optional enablePolly ./gnu-install-dirs-polly.patch;

postPatch = optionalString stdenv.isDarwin ''
Expand Down
2 changes: 2 additions & 0 deletions pkgs/development/compilers/llvm/7/llvm/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ in stdenv.mkDerivation (rec {
sha256 = "0zjfjgavqzi2ypqwqnlvy6flyvdz8hi1anwv0ybwnm2zqixg7za3";
stripLen = 1;
})

../../llvm-7-musl.patch
] ++ lib.optional enablePolly ./gnu-install-dirs-polly.patch;

postPatch = optionalString stdenv.isDarwin ''
Expand Down
7 changes: 7 additions & 0 deletions pkgs/development/compilers/llvm/8/llvm/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,13 @@ in stdenv.mkDerivation (rec {
sha256 = "0zjfjgavqzi2ypqwqnlvy6flyvdz8hi1anwv0ybwnm2zqixg7za3";
stripLen = 1;
})

# Fix musl build.
(fetchpatch {
url = "https://github.com/llvm/llvm-project/commit/5cd554303ead0f8891eee3cd6d25cb07f5a7bf67.patch";
relative = "llvm";
hash = "sha256-XPbvNJ45SzjMGlNUgt/IgEvM2dHQpDOe6woUJY+nUYA=";
})
] ++ lib.optional enablePolly ./gnu-install-dirs-polly.patch;

postPatch = optionalString stdenv.isDarwin ''
Expand Down
7 changes: 7 additions & 0 deletions pkgs/development/compilers/llvm/9/llvm/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,13 @@ in stdenv.mkDerivation (rec {
sha256 = "0zjfjgavqzi2ypqwqnlvy6flyvdz8hi1anwv0ybwnm2zqixg7za3";
stripLen = 1;
})

# Fix musl build.
(fetchpatch {
url = "https://github.com/llvm/llvm-project/commit/5cd554303ead0f8891eee3cd6d25cb07f5a7bf67.patch";
relative = "llvm";
hash = "sha256-XPbvNJ45SzjMGlNUgt/IgEvM2dHQpDOe6woUJY+nUYA=";
})
] ++ lib.optional enablePolly ./gnu-install-dirs-polly.patch;

postPatch = optionalString stdenv.isDarwin ''
Expand Down
7 changes: 7 additions & 0 deletions pkgs/development/compilers/llvm/git/llvm/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,13 @@ in stdenv.mkDerivation (rec {
# It's not clear to me why this isn't an issue for LLVM developers running
# on macOS (nothing about this _seems_ nix specific)..
./lit-shell-script-runner-set-dyld-library-path.patch

# Fix musl build.
(fetchpatch {
url = "https://github.com/llvm/llvm-project/commit/5cd554303ead0f8891eee3cd6d25cb07f5a7bf67.patch";
relative = "llvm";
hash = "sha256-XPbvNJ45SzjMGlNUgt/IgEvM2dHQpDOe6woUJY+nUYA=";
})
] ++ lib.optionals enablePolly [
./gnu-install-dirs-polly.patch

Expand Down
Loading