Commit Graph

14828 Commits

Author SHA1 Message Date
figsoda
a1663fbdf6 rustPlatform.buildRustPackage: fix auditable option when cargo-auditable is not provided to makeRustPlatform 2023-04-13 13:30:39 -04:00
Samuel Ainsworth
929a328dd9
Merge pull request #225661 from SomeoneSerge/jax-libstdcxx
python3Packages.jax: fix libstdc++ mismatch when built with CUDA
2023-04-13 12:28:13 -04:00
Someone Serge
97870fb60c
cudaPackages: append $ORIGIN to runtime paths 2023-04-13 19:12:37 +03:00
Sandro
936e99baff
Merge pull request #225822 from avh4/elm-format-0.8.7
elmPackages.elm-format: 0.8.6 -> 0.8.7
2023-04-13 15:39:19 +02:00
hacker1024
cedcb0b772 flutter: Rename "self" to "unwrapped" in main derivation 2023-04-13 23:19:16 +10:00
hacker1024
13bbb36132 flutter: Move makeWrapper to nativeBuildInputs in wrapper 2023-04-13 22:52:40 +10:00
hacker1024
c59ce54f1d flutter: Add mkFlutterApp as a passthru attribute 2023-04-13 22:02:50 +10:00
github-actions[bot]
97250f238c
Merge staging-next into staging 2023-04-13 12:02:19 +00:00
hacker1024
4196ddbeb5 flutter: Add git and which to PATH 2023-04-13 21:55:50 +10:00
Alyssa Ross
0944487ccf clippy: use the right rustc when cross compiling
When cross compiling, buildPackages.cargo uses a rustc that can build
for both the build and host platforms.  This was not true of
buildPackages.clippy, so it was not possible to use clippy for a cross
target.  Now it is.

I've modified clippy.nix to use rustc from rustPlatform, so we only
have to add a single override in default.nix.
2023-04-13 10:19:53 +00:00
hacker1024
f3aac6e61e flutter: Add FlafyDev, gilice, and hacker1024 as maintainers 2023-04-13 19:46:45 +10:00
hacker1024
4df7d07ab1 flutter: Remove stray dollar sign from name string 2023-04-13 19:29:42 +10:00
hacker1024
d5aa0c1f97 Merge remote-tracking branch 'NixOS/master' into patch-3 2023-04-13 19:22:50 +10:00
7c6f434c
587444af72
Merge pull request #209024 from hraban/sbcl-cleanup
sbcl: cleanup old versions
2023-04-13 08:44:57 +00:00
7c6f434c
6bbd057947
Merge pull request #221245 from hraban/sbcl/2.3.2
sbcl: 2.3.0 -> 2.3.2
2023-04-13 08:32:21 +00:00
hacker1024
5777f1a122 flutter: Don't check executable locations in doctor
Flutter 3.5.0 adds a check to make sure that the Flutter and Dart tool executables are inside the SDK directory.

This does not play nicely with the wrapping and linking techniques used to package it. It is also impossible for there to be an issue related to binary locations, as everything is set up properly in the derivation.
2023-04-13 18:02:26 +10:00
Pavel Sobolev
4c49c70772
codon: init at 0.15.5 2023-04-13 11:02:00 +03:00
hacker1024
0f2848638f flutter: 3.3.3 -> 3.7.11 2023-04-13 18:01:58 +10:00
hacker1024
aa9079c678 flutter: Remove prebuilt dependencies from the wrapper
These are no longer needed now that the artifacts are patched.
2023-04-13 18:01:58 +10:00
hacker1024
7f01352e65 flutter: Don't preserve prebuilt SDK asset file permissions
See: https://github.com/flutter/flutter/issues/119961

Co-authored-by: FlafyDev <flafyarazi@gmail.com>
Co-authored-by: gilice <gilice@proton.me>
Co-authored-by: hacker1024 <hacker1024@users.sourceforge.net>
2023-04-13 18:01:53 +10:00
hacker1024
9497627b15 flutter: Don't try to update the immutable artifact cache
Co-authored-by: FlafyDev <flafyarazi@gmail.com>
Co-authored-by: gilice <gilice@proton.me>
Co-authored-by: hacker1024 <hacker1024@users.sourceforge.net>
2023-04-13 18:01:45 +10:00
hacker1024
d6ce0dafcf flutter: Don't use an external artifact cache
The internal artifacts should be used, as they have been patched to use Nix libraries.

Co-authored-by: FlafyDev <flafyarazi@gmail.com>
Co-authored-by: gilice <gilice@proton.me>
Co-authored-by: hacker1024 <hacker1024@users.sourceforge.net>
2023-04-13 18:01:35 +10:00
hacker1024
e552959395 flutter: Remove the FHS wrapper
Now that Flutter artifacts are patched, there is no need for a FHS at runtime or any stage of the build process.

Those relying on it for the Android SDK should look at https://github.com/tadfisher/android-nixpkgs.
2023-04-13 18:01:32 +10:00
hacker1024
9e33e35589 flutter: Add zlib to the linker search path 2023-04-13 18:01:32 +10:00
hacker1024
94a34aadf6 flutter: Use autoPatchelfHook for SDK artifacts
This allows SDK artifacts (including build tools and libraries) to use the right interpreter and library locations, abolishing the need for a FHS or post-build patches.

`autoPatchelf` has been used through `autoPatchelfHook`, instead of the `autoPatchelf` command on just the artifact directory, due to the latter method not patching interpreter paths (https://discourse.nixos.org/t/trying-to-use-autopatchelf/24003).

Co-authored-by: FlafyDev <flafyarazi@gmail.com>
Co-authored-by: gilice <gilice@proton.me>
Co-authored-by: hacker1024 <hacker1024@users.sourceforge.net>
2023-04-13 18:01:25 +10:00
hacker1024
65708c3360 flutter: Don't delete SDK artifacts
Co-authored-by: FlafyDev <flafyarazi@gmail.com>
Co-authored-by: gilice <gilice@proton.me>
Co-authored-by: hacker1024 <hacker1024@users.sourceforge.net>
2023-04-13 18:01:01 +10:00
hacker1024
cda91ab269 flutter: Add cache output and preload pub cache when necessary
Co-authored-by: FlafyDev <flafyarazi@gmail.com>
Co-authored-by: gilice <gilice@proton.me>
Co-authored-by: hacker1024 <hacker1024@users.sourceforge.net>
2023-04-13 17:55:40 +10:00
Someone Serge
ad0606288b
cudaPackages.backendStdenv: cc and libstdc++ as arguments; expose libstdc++ 2023-04-13 01:45:49 +03:00
Adam Joseph
6f8a69ee31 Revert "llvmPackages_13.compiler-rt-libc: also apply tmp hack"
This reverts commit 9bf18e069e.
2023-04-12 10:26:24 -07:00
Adam Joseph
15e2a735f8 Revert "cc-wrapper: add optional temporary hack for -B"
This reverts commit ac3acd956f.
2023-04-12 10:26:23 -07:00
Vladimír Čunát
4549be7eb0
Merge branch 'master' into staging 2023-04-12 18:25:54 +02:00
hacker1024
7840f2055a flutter: Create the flutter derivation with callPackage alone 2023-04-13 00:09:42 +10:00
Weijia Wang
6fc6b8f2cc chickenPackages: reduce brokenOnDarwin 2023-04-12 15:35:37 +03:00
github-actions[bot]
f4a0b6d5fa
Merge staging-next into staging 2023-04-12 12:02:59 +00:00
Weijia Wang
a603e9044c
Merge pull request #225861 from wegank/chicken-pkg-config
chickenPackages: pass pkg-config to more packages
2023-04-12 14:54:29 +03:00
Weijia Wang
b3e98b8080
Merge pull request #225878 from wegank/chicken-frameworks
chickenPackages: add missing deps
2023-04-12 14:50:32 +03:00
Weijia Wang
3ea257209d
Merge pull request #225859 from wegank/chicken-cxx
chickenPackages_5.chickenEggs.taglib: unbreak on darwin
2023-04-12 14:21:29 +03:00
Vladimír Čunát
2a3291834f
Merge #224806: staging-next 2023-04-05 2023-04-12 13:18:37 +02:00
Weijia Wang
6b7f0fbe8a chickenPackages_5.chickenEggs.opencl: unbreak on darwin 2023-04-12 13:37:58 +03:00
Et7f3
a40dfa4f64 chickenPackages_5.chickenEggs.allegro: Add missing deps 2023-04-12 13:36:45 +03:00
Weijia Wang
d51f7d4ef7 chickenPackages_5.chickenEggs.taglib: unbreak on darwin 2023-04-12 13:34:23 +03:00
Weijia Wang
edfb1b1d4f chicken: pass CXX_COMPILER 2023-04-12 13:33:57 +03:00
Weijia Wang
72767191dd chickenPackages: pass pkg-config to more packages 2023-04-12 13:32:47 +03:00
Weijia Wang
da30065bc8
Merge pull request #225775 from nagy/chicken-broken
chickenPackages: mark more as broken
2023-04-12 13:27:35 +03:00
Vladimír Čunát
9bf18e069e
llvmPackages_13.compiler-rt-libc: also apply tmp hack
This part got forgotten in commit ac3acd956f.
2023-04-12 11:26:19 +02:00
Sandro
98853bbb80
Merge pull request #225833 from JamieMagee/dotnet-8.0
dotnet-sdk_8: 8.0.100-preview.2.23157.25 -> 8.0.100-preview.3.23178.7
2023-04-12 10:54:49 +02:00
Sandro
5666b3c419
Merge pull request #225836 from JamieMagee/dotnet-7.0
dotnet-sdk_7.0: 7.0.202 -> 7.0.203
2023-04-12 10:54:32 +02:00
Vladimír Čunát
ac3acd956f
cc-wrapper: add optional temporary hack for -B
This fixes parts in llvmPackages_{13,rocm}
e.g. build .clang for testing.
Longterm mass-rebuild fix should come in PR #225846
2023-04-12 09:37:24 +02:00
Jamie Magee
cc37d2b931
dotnet-sdk_8: 8.0.100-preview.2.23157.25 -> 8.0.100-preview.3.23178.7 2023-04-11 20:05:39 -07:00
Jamie Magee
6dbaba45ac
dotnet-sdk_7.0: 7.0.202 -> 7.0.203 2023-04-11 20:01:59 -07:00
Jamie Magee
031c6621fb
dotnet-sdk_6.0 6.0.407 -> 6.0.408 2023-04-11 19:59:34 -07:00
github-actions[bot]
18530e57da
Merge staging-next into staging 2023-04-12 00:02:52 +00:00
github-actions[bot]
47157337bf
Merge master into staging-next 2023-04-12 00:02:18 +00:00
figsoda
b0b2385325 rustc: reapply re-erased-regions-are-local patch
The patch is not in 1.68, and was mistakenly removed
2023-04-12 09:57:57 +10:00
Aaron VonderHaar
a7f2c2c939 elmPackages.elm-format: 0.8.6 -> 0.8.7 2023-04-11 16:29:27 -07:00
Artturi
a2da3d62a6
Merge pull request #225220 from amjoseph-nixpkgs/pr/gfortran/do-not-disable-bootstrap 2023-04-11 22:33:14 +03:00
R. Ryantm
832587fd0e jwasm: 2.16 -> 2.17 2023-04-11 15:07:42 -03:00
Adam Joseph
e199e42538
Merge pull request #225595 from trofi/gcc-no-statx-fix
gcc: drop include-fixed/bits/statx.h
2023-04-11 17:45:49 +00:00
Adam Joseph
f06ab170fa gcc: never disableBootstrap for gfortran
As suggested by @trofi here:

  https://github.com/NixOS/nixpkgs/pull/209870#issuecomment-1500635687

This should fix failures among packages which use gfortran:

  https://github.com/NixOS/nixpkgs/pull/209870#issuecomment-1500550903
  https://hydra.nixos.org/build/215195834
2023-04-11 20:19:58 +03:00
Artturin
b1d4dfddaf Revert "julia{18,19,}: fix build by a temporary hack"
This reverts commit e2691227cd.
2023-04-11 20:19:58 +03:00
Daniel Nagy
11c5a620ef
chickenPackages: mark more as broken 2023-04-11 18:45:00 +02:00
github-actions[bot]
3c070a08ff
Merge master into staging-next 2023-04-11 12:01:14 +00:00
Sandro
92c5308ed3
Merge pull request #224673 from figsoda/jdk
javaPackages.compiler.openjdk15: fix eval
2023-04-11 10:38:08 +02:00
iko
187f6de08d
elm-spa: init at 6.0.4 2023-04-11 09:55:44 +03:00
Nicolas Benes
4d41c93745 osl: 1.11.17.0 -> 1.12.11.0 2023-04-10 23:26:32 +02:00
Hraban Luyat
7493ac348a sbcl: remove old versions, leave 2.1.9 for CLPM 2023-04-10 15:09:34 -04:00
Daniel Nagy
256b5d26b5
chickenPackages: fixes and mark broken 2023-04-10 20:15:00 +02:00
Sergei Trofimovich
84822c43fc gcc: drop include-fixed/bits/statx.h
At least on armv7l-linux bootstrapTools fixed version of bits/statx.h
breaks the header:
    https://github.com/NixOS/nixpkgs/pull/209870#issuecomment-1501201452

Drop the header along with other already cleaned ones.
2023-04-10 17:04:03 +01:00
Vladimír Čunát
e2691227cd
julia{18,19,}: fix build by a temporary hack
This is a low-rebuild version of PR #225273
/cc the proper and hopefully complete fix in PR #225220
2023-04-10 16:36:55 +02:00
github-actions[bot]
995e7507ce
Merge master into staging-next 2023-04-10 12:01:35 +00:00
Weijia Wang
2ac4e0dfec
Merge pull request #224845 from nagy/chicken-overrides
chickenPackages: Introduce overrides
2023-04-10 08:19:27 +02:00
github-actions[bot]
39f71c03bf
Merge master into staging-next 2023-04-10 06:01:13 +00:00
Miguel Madrid-Mencía
a2fc5cbcac crystal: 1.7.2 -> 1.7.3 2023-04-10 12:19:08 +08:00
Nick Cao
83ca2cd745
Merge pull request #225413 from SubhrajyotiSen/update-kotlin
kotlin{-native}: 1.8.10 → 1.8.20
2023-04-10 10:09:49 +08:00
github-actions[bot]
20d94e414f
Merge master into staging-next 2023-04-09 12:01:09 +00:00
SubhrajyotiSen
fb3e0d0185 kotlin{-native}: 1.8.10 → 1.8.20 2023-04-09 17:13:50 +05:30
7c6f434c
4baebf42f1
Merge pull request #225235 from lucasew/abcl-followup
abcl: follow up fixes for #223317
2023-04-09 08:04:02 +00:00
Hraban Luyat
ea67874c07 sbcl: 2.3.0 -> 2.3.2 2023-04-09 02:08:34 -04:00
github-actions[bot]
fc0616b73d
Merge master into staging-next 2023-04-09 06:01:16 +00:00
Sandro
c1d9e46fc5
Merge pull request #221427 from JamieMagee/dotnet-8.0 2023-04-09 04:03:05 +02:00
github-actions[bot]
97afa6ec9b
Merge master into staging-next 2023-04-09 00:02:38 +00:00
Samuel Ainsworth
c5b01a1407
Merge pull request #222273 from SomeoneSerge/torch20
python3Packages.torch: 1.13.1 -> 2.0.0
2023-04-08 15:12:39 -04:00
Vladimír Čunát
fd77cd7a01
Merge branch 'master' into staging-next
Indentation conflict in vulkan-related src fetches.
2023-04-08 11:33:08 +02:00
Jamie Magee
b8858b7f78
dotnet-sdk_8: 8.0.100-preview.1.23115.2 -> 8.0.100-preview.2.23157.25 2023-04-07 23:18:00 -07:00
Anderson Torres
b31b88d74f harePackages.hare: remove patch
It is now passing the tests!
2023-04-07 21:56:53 -03:00
lucasew
9071d06d01 abcl: follow up fixes for #223317
Signed-off-by: lucasew <lucas59356@gmail.com>
2023-04-07 21:03:21 -03:00
github-actions[bot]
75e19b98bb
Merge master into staging-next 2023-04-08 00:02:03 +00:00
Someone Serge
378c0c6983
python3Packages.openai-triton: init at 2.0.0 2023-04-08 02:46:54 +03:00
maralorn
95d5c63b09 Merge branch 'master' into haskell-updates 2023-04-07 23:51:54 +02:00
lucasew
1173a1c198 abcl: explicit update script + makeWrapper
Signed-off-by: lucasew <lucas59356@gmail.com>
2023-04-07 16:44:58 -03:00
github-actions[bot]
1ad73cb589
Merge master into staging-next 2023-04-07 18:01:06 +00:00
Samuel Ainsworth
cd07e0258c
Merge pull request #223664 from SomeoneSerge/cuda-libstdcpp
cudaPackages: use the same libstdc++ as the rest of nixpkgs
2023-04-07 11:46:55 -04:00
Nguyễn Gia Phong
74b703f59d hare: unstable-2023-02-08 -> unstable-2023-03-15 2023-04-07 11:30:52 -03:00
Nguyễn Gia Phong
01e2254652 harec: unstable-2023-02-08 -> unstable-2023-02-18 2023-04-07 11:30:52 -03:00
Vladimír Čunát
b856c0f8f4
Merge #218143: GNOME: 43 → 44
...into staging-next
2023-04-07 16:09:13 +02:00
github-actions[bot]
ee14a276ab
Merge master into haskell-updates 2023-04-07 00:11:54 +00:00
github-actions[bot]
135af46604
Merge master into staging-next 2023-04-07 00:02:13 +00:00
Someone Serge
3af299f014
cudaPackages.cudatoolkit: hotfix the libstdc++ mismatch caused by cudatoolkit-vendored copy of the library 2023-04-07 00:28:02 +03:00
Someone Serge
bd62420fd3
cudaPackages: use same libstdc++ as the rest of nixpkgs 2023-04-07 00:28:02 +03:00
Someone Serge
b100b0a1cc
cudaPackages_11_8: un-break after migrating to autoPatchelfHook 2023-04-06 22:30:11 +03:00
Someone Serge
221fe82378
cudaPackages_12.cudatoolkit: fix after migrating to autoPatchelfHook 2023-04-06 22:30:10 +03:00
Someone Serge
868c289955
cudaPackages.cudatoolkit: move pre-cuda11 deps up, to reorder chronologically 2023-04-06 22:30:10 +03:00
sternenseemann
70aea98451 haskell.compiler.ghcHEAD: 9.7.20230217 -> 9.7.20230406 2023-04-06 19:00:21 +02:00
github-actions[bot]
638ad26bf6
Merge master into staging-next 2023-04-06 16:11:06 +00:00
Théo Zimmermann
eccb7914a5
Merge pull request #224529 from SiriusStarr/update-lamdera
elmPackages.lamdera: 1.0.1 -> 1.1.0
2023-04-06 15:59:24 +02:00
Val Lorentz
fd3641ec26 mrustc: 0.9 -> 0.10
And switch from Rust 1.29 to 1.54, as this is the top version
supported by mrustc
2023-04-06 11:26:26 +02:00
Adam Joseph
1b771711b6 gcc: do not --disable-bootstrap, create libgcc output, or create checksum output on Darwin 2023-04-05 21:36:09 -07:00
github-actions[bot]
be07e18261
Merge master into staging-next 2023-04-06 00:02:09 +00:00
Jan Tojnar
1a7671c704 vala_0_56: 0.56.4 → 0.56.6
https://gitlab.gnome.org/GNOME/vala/-/compare/0.56.4...0.56.6

Changelog-Reviewed-By: Jan Tojnar <jtojnar@gmail.com>
2023-04-06 01:44:41 +02:00
Sandro
04486316c3
Merge pull request #219858 from fgaz/gbforth/init 2023-04-06 01:18:48 +02:00
Adam Joseph
deda18bae8 gcc: only pass --with-long-double-format if gcc allows it 2023-04-05 15:54:38 -07:00
Adam Joseph
29b395309f gcc: make --with-long-double-format configurable by targetPlatform.gcc 2023-04-05 15:54:37 -07:00
Adam Joseph
40f7300227 gcc: if isPower64 && !isMusl use --with-long-double-format=ieee
Use IEEE-standard floating point on `powerpc64le` instead of
IBM-proprietary formats.  The GCC wiki has more details on the history
here:

  https://gcc.gnu.org/wiki/Ieee128PowerPC

Nixpkgs' stdenv has no legacy `powerpc64le` installs to deal with
(stdenv did not bootstrap on powerpc64le until very recenty), so it's
much easier decision for us.

Red Hat (i.e. IBM) has tried to do this in each of the last *six*
releases:

  https://fedoraproject.org/wiki/Changes/PPC64LE_Float128_Transition

they and finally shipped it in May with Fedora 36:

  https://bugzilla.redhat.com/show_bug.cgi?id=1649936

Apparently glibc 2.35 fixes the last blocker.

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2023-04-05 15:52:43 -07:00
Weijia Wang
4da8ffc935
Merge pull request #224664 from wegank/rml-refactor
rml: use prefixKey
2023-04-06 01:27:23 +03:00
Daniel Nagy
da35fafa08
chickenPackages: Introduce overrides 2023-04-05 22:45:00 +02:00
Kasper Gałkowski
6817b72ca3 lisp-modules: set maintainers to the lisp team 2023-04-05 20:52:27 +02:00
github-actions[bot]
136b8f41e4
Merge master into staging-next 2023-04-05 18:01:36 +00:00
7c6f434c
b505951d8a
Merge pull request #224823 from Uthar/clasp-arm
clasp-common-lisp: set correct platforms
2023-04-05 16:35:31 +00:00
Pavol Rusnak
ccef8c0231
Merge pull request #224815 from prtzl/gcc-arm-embedded
gcc-arm-embedded: fix arm-none-eabi-gdb missing lib and python path
2023-04-05 18:02:38 +02:00
Kasper Gałkowski
7fa285932c clasp-common-lisp: set correct platforms 2023-04-05 17:35:58 +02:00
Rahul Butani
6707fa4056 llvmPackages_git.compiler-rt: fixes for Darwin
Partial port of 00839fea22
("llvmPackages_15.compiler-rt: fixes for Darwin")

see: https://github.com/NixOS/nixpkgs/pull/194634#issuecomment-1272116014
2023-04-05 17:29:36 +02:00
Raito Bezarius
92bf933890 llvmPackages_git.libcxx: remove preInstall phase for Darwin
This has not been added for `llvmPackages_15.libcxx`, therefore, we do not need
it anymore.
2023-04-05 17:27:24 +02:00
Rahul Butani
5fbf2cd1a0 llvmPackages_git: apply #211230 to llvmPackages_git
Port of 4fabcf4945 ("llvmPackages_15:
apply #211230 to llvmPackages_15").

See the comments here for context: https://github.com/NixOS/nixpkgs/pull/194634#discussion_r1089389188

Co-authored-by: Weijia Wang <9713184+wegank@users.noreply.github.com>
2023-04-05 17:26:52 +02:00
Rahul Butani
2e453ee51b llvmPackages_git.libcxxabi: fix cycles that arise when stdenv is the LLVM stdenv
Port of 8db72e3b7e
("llvmPackages_15.libcxxabi: fix cycles that arise when `stdenv` is the
LLVM stdenv").
2023-04-05 17:26:20 +02:00
Rahul Butani
18d9f16d0a llvmPackages_git.libcxx: updates from LLVM15
Port of bc4dbee115 ("llvmPackages_15:
updates for LLVM 15").

None of the patches required any touch-up; the only change of note is:
  - due to changes in the libc++/libc++abi build
    (https://reviews.llvm.org/D120719 and https://reviews.llvm.org/D131037)
    we have to add an extra build option to the libc++ header only
    build that sidesteps bits of the libc++ build config that assume
    libc++-abi is present in the build:
    4f827318e3/libcxx/src/CMakeLists.txt (L255-L256)

Rather than maintaining a precise set of build options that let us dodge
referencing libc++-abi variables in the libc++ header only build, we set
`LIBCXX_CXX_ABI` to `none`, as suggested by @lovesegfault.

More discussion about this here: https://github.com/NixOS/nixpkgs/pull/194634#discussion_r990267037

Co-authored-by: Bernardo Meurer <bernardo@meurer.org>
2023-04-05 17:25:12 +02:00
Ryan Lahfa
5233468f3b
Merge pull request #222901 from rrbutani/fix/llvm-git-static-build-fix
llvmPackages_git: apply #190936 (fix pkgsStatic LLVM build)
2023-04-05 17:20:01 +02:00
prtzl
d7eabb3781 gcc-arm-embedded: add myself to maintainers 2023-04-05 14:27:26 +02:00
prtzl
7fae5a802b gcc-arm-embedded: fix arm-none-eabi-gdb error 2023-04-05 14:15:01 +02:00
github-actions[bot]
ae5b53747b
Merge master into staging-next 2023-04-05 12:01:10 +00:00
Mario Rodas
477665842d
Merge pull request #206949 from nagy/chicken-ecosystem
chickenPackages_5: overhaul ecosystem
2023-04-05 06:40:00 -05:00
github-actions[bot]
80f198ff3a
Merge staging-next into staging 2023-04-05 06:01:50 +00:00
zowoq
4a65e9f64e go_1_19: 1.19.7 -> 1.19.8
Changelog: https://go.dev/doc/devel/release#go1.19
2023-04-05 14:27:30 +10:00
zowoq
416d51a21c go_1_20: 1.20.2 -> 1.20.3
Changelog: https://go.dev/doc/devel/release#go1.20
2023-04-05 11:03:06 +10:00
github-actions[bot]
ad0239e550
Merge staging-next into staging 2023-04-05 00:03:07 +00:00
Guillaume Maudoux
c5e6843b33
Merge pull request #224639 from NixOS/mozart/bump-llvm8
mozart: use llvmPackages_8 instead of llvmPackages_5
2023-04-04 23:36:40 +02:00
Ilan Joselevich
244eeefe05
Merge pull request #224485 from PedroHLC/vulkan-sdk-1.3.243-master
vulkan-sdk: 1.3.239 -> 1.3.243
2023-04-04 22:19:43 +03:00
Konstantin Astafurov
ca0335c064
chickenPackages_5: Remove ocaml dependency, switch to TOML 2023-04-04 20:15:00 +02:00
Daniel Nagy
d02bedbe28
chickenPackages_5: overhaul ecosystem 2023-04-04 20:15:00 +02:00
github-actions[bot]
7e508acf19
Merge staging-next into staging 2023-04-04 18:01:50 +00:00
François-René Rideau
a3cff1f052
solc: 0.8.13 -> 0.8.19 (#219240) 2023-04-04 19:17:56 +02:00
figsoda
21c659d543 javaPackages.compiler.openjdk15: fix eval 2023-04-04 12:28:07 -04:00
Weijia Wang
8597700299 rml: use prefixKey 2023-04-04 17:46:59 +03:00
Guillaume Maudoux
00aab45102 mozart: Simplify build thanks to the new sources format 2023-04-04 15:02:20 +02:00
Raito Bezarius
acd90cdb07 mozart: use llvmPackages_8 instead of llvmPackages_5
Following issue #44372 logic, we want to get rid of older LLVMs.
2023-04-04 13:33:32 +02:00
github-actions[bot]
276892f80f
Merge staging-next into staging 2023-04-04 00:02:38 +00:00
Yureka
b730214152 pkgsCross.musl64.go: fix build 2023-04-04 08:18:39 +10:00
SiriusStarr
81798fe4f4
elmPackages.lamdera: 1.0.1 -> 1.1.0
Release notes: https://dashboard.lamdera.app/releases/v1-1-0

This follows the official gist at:
https://gist.github.com/supermario/e34de4ee5b37c54041320be7dd252e6b
2023-04-03 13:54:57 -07:00
Benjamin Lee
6cf5d549fe nimble-unwrapped: Add missing Security framework buildInput 2023-04-03 18:50:57 +00:00
Vladimír Čunát
4eaca2b138
Merge #188492: glibc: 2.35-224 -> 2.37-8
...into staging
2023-04-03 20:29:07 +02:00
Rahul Butani
61b348f0c6
llvmPackages_git.openmp: apply #197674 (fix cross compile)
this was backported to `llvmPackages_15` in
81ef82a029
2023-04-03 10:36:54 -05:00
Rahul Butani
75fed51e18
llvmPackages_git: apply #205355 (disable libpfm on non-Linux)
this was applied to `llvmPackages_15` in 81ef82a029
(though I appear to have forgotten to mention it in the commit message...)
2023-04-03 10:33:05 -05:00
Rahul Butani
e505ffd251
llvmPackages_git: apply #190936 (fix pkgsStatic LLVM build)
This was applied to `llvmPackages_15` in
81ef82a029
2023-04-03 10:30:55 -05:00
Bernardo Meurer
f1f6ca8bcd
Merge pull request #209870 from amjoseph-nixpkgs/pr/stdenv/external-gcc-bootstrap 2023-04-03 08:19:03 -07:00
PedroHLC ☭
fae495c37d
glslang: 1.3.239.0 -> 1.3.243.0 2023-04-03 11:44:40 -03:00
github-actions[bot]
89ab0e405c
Merge staging-next into staging 2023-04-03 12:02:00 +00:00
Jörg Thalheim
e997e33298
Merge pull request #224468 from Mic92/mods
remove retrry maintainer
2023-04-03 12:32:24 +01:00
github-actions[bot]
baa80fd5aa
Merge staging-next into staging 2023-04-03 06:02:15 +00:00
7c6f434c
8ce248a734
Merge pull request #218870 from Uthar/lisp2
lisp-modules: replace with an implementation based on github:uthar/nix-cl
2023-04-03 06:00:48 +00:00
Anderson Torres
f59ca237ef cargo: remove retrry from meta.maintainers 2023-04-02 21:24:55 -03:00
Adam Joseph
5f57c2e0f9 pkgs/test/stdenv/default.nix: add gcc-stageCompare
This commit adds a derivation `gcc-stageCompare` to
`pkgs/test/stdenv/default.nix`.

It is important to always build this derivation whenever building
`stdenv`!  Because we are using a Nix-driven bootstrap instead of
gcc's built-in `--enable-bootstrap`, the `gcc` derivation no longer
performs the post-self-compilation sanity check.  You must build
this derivation in order to perform that sanity check.

The major benefit of this new approach is that the sanity check
(which involves a third compilation of gcc) can be performed
*concurrently* with all packages that depend on `stdenv`, rather
than serially.  Since `stdenv` has very little derivation-level
parallelism it cannot take advantage of more than one or perhaps two
builders.  If you have three or more builders this commit will
reduce the time-to-rebuild-stdenv by around 20% (one of three gcc
rebuilds is removed from the critical path, and stdenv's build time
is dominated by roughly 3*gcc + 1*binutils + 1*bison-test-suite).

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2023-04-02 13:49:53 -07:00
Adam Joseph
96588eb3de gcc: add common/checksum.nix
This commit adds `gcc/common/checksum.nix`, which contains code
common to both gcc11 and gcc12, implementing the `enableChecksum`
feature.

When gcc's built-in bootstrap (`--enable-bootstrap`) is used, gcc
compiles itself three times and compares a hash of the unlinked `.o`
files from the second and third compilation.  The
`enableChecksum=true` parameter performs the same comparison as part
of the `postInstall` phase.

Notably, `enableChecksum=true` can be used with `enableBootstrap=false`.

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2023-04-02 13:49:53 -07:00
Adam Joseph
7553d0fe29 stdenv: Nix-driven bootstrap of gcc
#### Summary

By default, when you type `make`, GCC will compile itself three
times.  This PR inhibits that behavior by configuring GCC with
`--disable-bootstrap`, and reimplements the triple-rebuild using
Nix rather than `make`/`sh`.

 #### Immediate Benefits

- Allow `gcc11` and `gcc12` on `aarch64` (without needing new
  `bootstrapFiles`)
- Faster stdenv rebuilds: the third compilation of gcc
  (i.e. stageCompare) is no longer a `drvInput` of the final stdenv.
  This allows Nix to build stageCompare in parallel with the rest of
  nixpkgs instead of in series.
- No more copying `libgcc_s` out of the bootstrap-files or other
  derivations
- No more Frankenstein compiler: the final gcc and the libraries it
  links against (mpfr, mpc, isl, glibc) are all built by the same
  compiler (xgcc) instead of a mixture of the bootstrapFiles'
  compiler and xgcc.
- No more [static lib{mpfr,mpc,gmp,isl}.a hack]
- Many other small `stdenv` hacks eliminated
- `gcc` and `clang` share the same codepath for more of `cc-wrapper`.

 #### Future Benefits

- This should allow using a [foreign] `bootstrap-files` so long as
  `hostPlatform.canExecute bootstrapFiles`.
- This should allow each of the libraries that ship with `gcc`
  (lib{backtrace, atomic, cc1, decnumber, ffi, gomp, iberty,
  offloadatomic, quadmath, sanitizer, ssp, stdc++-v3, vtv}) to be
  built in separate (one-liner) derivations which `inherit src;`
  from `gcc`, much like https://github.com/NixOS/nixpkgs/pull/132343

 #### Incorporates

- https://github.com/NixOS/nixpkgs/pull/210004
- https://github.com/NixOS/nixpkgs/pull/36948 (unreverted)
- https://github.com/NixOS/nixpkgs/pull/210325
- https://github.com/NixOS/nixpkgs/pull/210118
- https://github.com/NixOS/nixpkgs/pull/210132
- https://github.com/NixOS/nixpkgs/pull/210109
- https://github.com/NixOS/nixpkgs/pull/213909
- https://github.com/NixOS/nixpkgs/pull/216136
- https://github.com/NixOS/nixpkgs/pull/216237
- https://github.com/NixOS/nixpkgs/pull/210019
- https://github.com/NixOS/nixpkgs/pull/216232
- https://github.com/NixOS/nixpkgs/pull/216016
- https://github.com/NixOS/nixpkgs/pull/217977
- https://github.com/NixOS/nixpkgs/pull/217995

 #### Closes

- Closes #108305
- Closes #108111
- Closes #201254
- Closes #208412

 #### Credits

This project was made possible by three important insights, none of
which were mine:

1. @ericson2314 was the first to advocate for this change, and
   probably the first to appreciate its advantages.  Nix-driven
   (external) bootstrap is "cross by default".

2. @trofi has figured out a lot about how to get gcc to not mix up
   the copy of `libstdc++` that it depends on with the copy that it
   builds, by moving the `bootstrapFiles`' `libstdc++` into a
   [versioned directory].  This allows a Nix-driven bootstrap of gcc
   without the final gcc would still having references to the
   `bootstrapFiles`.

3. Using the undocumented variable [`user-defined-trusted-dirs`]
   when building glibc.  When glibc `dlopen()`s `libgcc_s.so`, it
   uses a completely different and totally special set of rules for
   finding `libgcc_s.so`.  This trick is the only way we can put
   `libgcc_s.so` in its own separate outpath without creating
   circular dependencies or dependencies on the bootstrapFiles.  I
   would never have guessed to use this (or that it existed!) if it
   were not for a [comment in guix] which @Mic92 [mentioned].

My own role in this PR was basically: being available to go on a
coding binge at an opportune moment, so we wouldn't waste a
[crisis].

[aarch64-compare-ofborg]: https://github.com/NixOS/nixpkgs/pull/209870/checks?check_run_id=10662822938
[amd64-compare-ofborg]: https://github.com/NixOS/nixpkgs/pull/209870/checks?check_run_id=10662825857
[nonexistent sysroot]: https://github.com/NixOS/nixpkgs/pull/210004
[versioned directory]: https://github.com/NixOS/nixpkgs/pull/209054
[`user-defined-trusted-dirs`]: https://sourceware.org/legacy-ml/libc-help/2013-11/msg00026.html
[comment in guix]: 5e4ec82181/gnu/packages/gcc.scm (L253)
[mentioned]: https://github.com/NixOS/nixpkgs/pull/210112#issuecomment-1379608483
[crisis]: https://github.com/NixOS/nixpkgs/issues/108305
[foreign]: https://github.com/NixOS/nixpkgs/pull/170857#issuecomment-1170558348
[static lib{mpfr,mpc,gmp,isl}.a hack]: 2f1948af9c/pkgs/stdenv/linux/default.nix (L380)
2023-04-02 13:49:41 -07:00
Adam Joseph
fdd49f1bcd gcc/{11,12}: use lib.pipe
This commit has no effect on eval.  It simply reorganizes the
`gcc11` and `gcc12` expressions so they apply a list of
`overrideAttrs`.  The list is currently empty.
2023-04-02 03:04:21 -07:00
github-actions[bot]
9d596c3b86
Merge staging-next into staging 2023-04-02 06:01:46 +00:00
Someone Serge
15848ffa42
cudaPackages.cudatoolkit: rm preFixup rpath code
...the same logic is handled by autoPatchelf
2023-04-02 01:09:34 +03:00
Someone Serge
6dc90880de
cudaPackages.cudatoolkit: use autoPatchelf
...to ensure correctness (in the sense that all DT_NEEDED libraries are
verified to be discoverable through the runpaths)
2023-04-02 01:08:41 +03:00
github-actions[bot]
47ddbcb1f0
Merge staging-next into staging 2023-03-31 00:03:05 +00:00
superherointj
60e727af11
Merge pull request #223914 from superherointj/scale-back
CODEOWNERS: remove superherointj
2023-03-30 18:54:19 -03:00
Weijia Wang
30a8405fd4
Merge pull request #223900 from wegank/rocm-aarch64
llvmPackages_rocm.llvm: mark as broken on aarch64-linux
2023-03-30 23:33:08 +03:00
Benjamin Staffin
ff296a777e
Merge pull request #207115 from s1341/init_freeipa
freeipa: init at 4.10.1
2023-03-30 13:15:18 -04:00
superherointj
1f087c364a ponyc: remove superherointj as maintainer 2023-03-30 11:00:52 -03:00
superherointj
1dd6798097 pony-corral: remove superherointj as maintainer 2023-03-30 11:00:40 -03:00
github-actions[bot]
e2137dea96
Merge staging-next into staging 2023-03-30 12:01:58 +00:00
Weijia Wang
a94d9447ef llvmPackages_rocm.llvm: mark as broken on aarch64-linux 2023-03-30 14:15:27 +03:00
github-actions[bot]
00a3584a5f
Merge staging-next into staging 2023-03-29 18:09:23 +00:00
ajs124
47e7025ad0 buildDotNet: don't pin openssl_1_1 2023-03-29 16:15:34 +02:00
ajs124
800426cf64
Merge pull request #222422 from mdarocha/remove-dotnet-3
dotnet-sdk_3: remove
2023-03-29 16:13:25 +02:00
Maximilian Bosch
89fda21fae
gccgo6: fix build w/glibc-2.36
Failing Hydra build: https://hydra.nixos.org/build/193810432
2023-03-29 09:50:29 +02:00
Maximilian Bosch
2a2cd02cb6
gcc49: fix build w/glibc-2.36
Failing Hydra build: https://hydra.nixos.org/build/193330218
2023-03-29 09:50:26 +02:00
Maximilian Bosch
9bb6dc1bc3
gcc6: fix build w/glibc-2.36
Failing Hydra build: https://hydra.nixos.org/build/193371579
2023-03-29 09:50:26 +02:00
Maximilian Bosch
0ed55ff3ca
gcc7: fix build w/glibc-2.36
Failing Hydra build: https://hydra.nixos.org/build/193340626
2023-03-29 09:50:26 +02:00
Maximilian Bosch
b0d673c794
gcc8: fix build w/glibc-2.36
Failing Hydra build: https://hydra.nixos.org/build/193370420
2023-03-29 09:50:25 +02:00
Maximilian Bosch
531a1965de
gcc9: fix build w/glibc-2.36
Failing Hydra build: https://hydra.nixos.org/build/193342322
Patch from gcc11 requires some minor adjustments to properly apply.
2023-03-29 09:50:25 +02:00
Maximilian Bosch
b0265aadac
gcc10: fix build w/glibc-2.36
Failing Hydra build: https://hydra.nixos.org/build/193327405
Same fix as for gcc11.
2023-03-29 09:50:25 +02:00
Maximilian Bosch
019f605cd7
gcc: exclude malformed sys/mount.h from fixed headers directory
Previously, builds such as `cmake` would fail with errors like this:

    In file included from /nix/store/injyphmxqgi028skp28fsmdvbdb57nvl-glibc-2.36-48-dev/include/linux/fs.h:19,
                     from /build/cmake-3.24.2/Utilities/cmlibarchive/libarchive/archive_read_disk_posix.c:56:
    /nix/store/injyphmxqgi028skp28fsmdvbdb57nvl-glibc-2.36-48-dev/include/linux/mount.h:95:6: error: redeclaration of 'enum fsconfig_command'
       95 | enum fsconfig_command {
          |      ^~~~~~~~~~~~~~~~

The reason behind that is that the kernel exports `linux/mount.h` via
kernel headers APIs that are also defined in `sys/mount.h` from glibc.
To avoid clashes, safeguards were implemented in glibc to prevent this
from happening[1][2].

However, these `#ifndef`-safeguards are removed by `fixincludes` during
gcc's build and the (broken) result is subsequently copied into
`include-fixed/sys/mount.h` which is added to each build via the
cc-wrapper. To work around this, I decided to simply drop the file: it
also exists in glibc's output and our gcc12 doesn't seem to expose this
anymore anyways.

[1] Commit bb1e8b0ca99b5cbedfae3e6245528a87d95ff3e2
[2] Commit 3bd3c612e98a53ce60ed972f5cd2b90628b3cba5
2023-03-29 09:50:25 +02:00
Maximilian Bosch
b2a1ac4e99
gcc11: fix build w/glibc-2.36
Failing Hydra build: https://hydra.nixos.org/build/189053872
2023-03-29 09:50:24 +02:00
figsoda
4cb59fe2e3 rustc: remove unused inputs 2023-03-29 08:00:08 +10:00
figsoda
45b1d4d292 rustc: 1.68.1 -> 1.68.2
Diff: https://github.com/rust-lang/rust/compare/1.68.1...1.68.2

Changelog: https://blog.rust-lang.org/2023/03/28/Rust-1.68.2.html
2023-03-29 08:00:08 +10:00
github-actions[bot]
202cb8119f
Merge staging-next into staging 2023-03-28 18:01:48 +00:00
Kasper Gałkowski
9a26e2dea9 merge master 2023-03-28 19:43:40 +02:00
Ryan Lahfa
43c847c903
Merge pull request #222220 from alyssais/llvmPackages_git.llvm-tests-macos
llvmPackages_git.llvm: run the tests on macOS
2023-03-28 18:03:57 +02:00
Domen Kožar
f4b70e0048
Merge pull request #223373 from toonn/nim-Security-framework
nim-unwrapped: Add missing Security framework buildInput
2023-03-28 13:57:45 +01:00
github-actions[bot]
d7aaa5f93d
Merge staging-next into staging 2023-03-28 12:02:30 +00:00
Jack Cummings
236410c7a6 bluespec: 2022.1 -> 2023.1 2023-03-28 06:30:54 -05:00
Rahul Butani
5a4cfac5ec llvmPackages_git.llvm: fix the tests on x86_64-darwin
Port of eafb8fbd32 ("llvmPackages_15.llvm: fix the tests on `x86_64-darwin`")
2023-03-28 13:08:39 +02:00
figsoda
63b9aeed13
Merge pull request #223320 from figsoda/auditable 2023-03-27 19:32:02 -04:00
toonn
855b6e2ad0
nim-unwrapped: Add missing Security framework buildInput 2023-03-27 13:28:46 +02:00
Vladimír Čunát
1acb9fd044
Merge branch 'master' into staging 2023-03-27 09:36:27 +02:00
Weijia Wang
9ef960d89e
Merge pull request #223312 from r-ryantm/auto-update/hip
hip: 5.4.3 -> 5.4.4
2023-03-27 09:34:55 +03:00
figsoda
201d4b7c5c rustPlatform.buildRustPackage: make auditable the default 2023-03-26 22:47:06 -04:00