Commit Graph

24752 Commits

Author SHA1 Message Date
Doron Behar
be3e244369 Merge pull request #318742 from jlesquembre/jl/jdk-remove-let
openjdk22: remove redundant let binding
2024-06-17 21:25:21 +03:00
Aleksana
36bd9a0872 Merge pull request #315140 from alexfmpe/ispc-1.24
ispc: 1.23.0 -> 1.24.0
2024-06-18 01:28:33 +08:00
Artemis Tosini
f76271c4df llvm: Don't use libunwind on FreeBSD
Native builds on nixpkgs FreeBSD always use llvm's libc++ as the
C++ standard library, with libcxxrt and "libgcc" from the FreeBSD tree
providing lower level ABI functions.

However, the cross LLVM stdenv assumed that we wanted libunwind instead
of libgcc. As libgcc headers are already in FreeBSD's libc, some C++
functions failed with duplicate header errors.

Disable all references to libunwind in libcxx on FreeBSD and the LLVM
cross stdenvs for FreeBSD.
2024-06-17 00:35:55 -07:00
Nathan van Doorn
f564dbf8af rgbds: 0.6.1 -> 0.7.0
rgbds: use postPatch rather than patchPhase

Co-authored-by: Pol Dellaiera <pol.dellaiera@protonmail.com>
2024-06-17 09:13:56 +02:00
Tristan Ross
c3ae65579a flutterPackages-source.*.engine.src: prevent hydra log limit issue 2024-06-16 23:18:08 -07:00
R. Ryantm
7a1b6c2be4 jdk22: 22-ga -> 22.0.1-ga 2024-06-17 05:57:32 +00:00
github-actions[bot]
5243bf695b Merge master into haskell-updates 2024-06-17 00:14:38 +00:00
Alex James
cae03b78b4 zig: fix build on Darwin with sandbox enabled
During stage 3 of compilation, Zig calls `std.zig.system.darwin.macos.detect`,
which parses /System/Library/CoreServices/.SystemVersionPlatform.plist and
/System/Library/CoreServices/SystemVersion.plist[^1] to determine the OS
version. These paths are inaccessible when the sandbox is enabled, which causes
the build to fail with `OSVersionDetectionFail`[^2]. Fix the build with the
relaxed sandbox option by adding these paths to `__impureHostDeps`.

[^1]: cd62005f19/lib/std/zig/system/darwin/macos.zig
[^2]: https://github.com/NixOS/nixpkgs/issues/287861#issuecomment-2148703491
2024-06-16 17:51:10 -05:00
Yueh-Shun Li
db25698843 jre_miniman.tests: fix pre/post hook running 2024-06-17 06:08:15 +08:00
Peter Waller
40a7f218c5 llvmPackages_{12,13,14,15,16,17,18,git}: Allow overriding dependencies
... consistently.

Further to #307211, allow overriding arguments through llvmPackages.override.

This makes it possible to override any dependency of LLVM or
clang by overriding it on `llvmPackages.override { <dependency> = ...; }`.

This is useful in development or customization where sometimes it is
desirable to turn features on or off.

Without this patch the only way to for example override ncurses was to
do `overriddenLLVM = llvmPackages.llvm.override { ncurses }`, but then
you would have to thread `overriddenLLVM` as dependencies into clang and
other packages, which results in quite a difficult expression to write
correctly in cross compilation scenarios.

Signed-off-by: Peter Waller <p@pwaller.net>
2024-06-16 20:25:26 +01:00
Peter Waller
0c3c6d879f llvmPackages.clang: don't pass -Wno-maybe-uninitialized to clang
If building clang under clang, don't pass -Wno-maybe-uninitialized;
this is a gcc-only warning and clang emits a diagnostic for every TU
about the unknown warning flag.

Signed-off-by: Peter Waller <p@pwaller.net>
2024-06-16 16:00:01 +01:00
Marcus Ramberg
0ec048523d Merge pull request #317896 from jmbaur/update-zig-12
zig: 0.12.0 -> 0.12.1
2024-06-16 16:53:49 +02:00
Nick Cao
96b429b0b0 Merge pull request #320251 from r-ryantm/auto-update/erg
erg: 0.6.37 -> 0.6.38
2024-06-16 10:38:06 -04:00
Nick Cao
eb4bd84036 Merge pull request #320063 from r-ryantm/auto-update/flix
flix: 0.47.0 -> 0.48.0
2024-06-16 10:16:14 -04:00
Nick Cao
503b60ee45 Merge pull request #319980 from r-ryantm/auto-update/ballerina
ballerina: 2201.9.0 -> 2201.9.1
2024-06-16 09:58:31 -04:00
R. Ryantm
db779b29b6 erg: 0.6.37 -> 0.6.38 2024-06-16 13:19:30 +00:00
Artturin
23b617791c Merge pull request #307211 from pwaller/llvm-simplify-arg-passthrough
llvmPackages_{12,13,14,15,16,17,18,git}: Simplify argument passthrough
2024-06-16 14:29:45 +03:00
github-actions[bot]
d9f598edbe Merge staging-next into staging 2024-06-16 06:01:20 +00:00
Ben Siraphob
900d8043bb Merge pull request #320042 from siraben/koka-update
koka: 3.1.0 -> 3.1.2
2024-06-16 02:26:34 +00:00
github-actions[bot]
7b8f253d65 Merge master into haskell-updates 2024-06-16 00:15:12 +00:00
github-actions[bot]
857d0ab18b Merge staging-next into staging 2024-06-16 00:03:10 +00:00
h7x4
449246e4cb Merge pull request #320119 from emilazy/remove-myself-from-unused-packages
treewide: remove myself from packages I don’t use
2024-06-16 01:19:51 +02:00
tomberek
f7aae7b083 Merge pull request #212328 from ExpidusOS/flutter-engine/init
flutter.engine: init
2024-06-15 18:53:38 -04:00
Martin Weinelt
22eb340faf Merge remote-tracking branch 'origin/staging-next' into staging
Conflicts:
- pkgs/development/python-modules/fastembed/default.nix
2024-06-15 22:41:34 +02:00
Emily
4b1d39d935 treewide: remove myself from packages I don’t use
I’ve had an extended absence from Nix work and no longer actively
use a bunch of packages I used to maintain, so remove myself as a
maintainer from things I can’t usefully review/test changes for
as I ease back into things. This does unfortunately leave a few
packages orphaned (`stm32loader`, `tinyprog`, `python3Packages.fx2`,
and `python3Packages.jsonmerge`).
2024-06-15 16:53:23 +01:00
R. Ryantm
56dd83ad62 flix: 0.47.0 -> 0.48.0 2024-06-15 13:51:18 +00:00
Nick Cao
ad0bfd2a79 Merge pull request #319645 from corngood/dotnet-upgrade
dotnet: 9.0.0-preview.4 -> 9.0.0-preview.5
2024-06-15 08:59:34 -04:00
Ben Siraphob
1c842131a3 koka: 3.1.0 -> 3.1.2 2024-06-15 12:31:01 +00:00
github-actions[bot]
59ab667c16 Merge staging-next into staging 2024-06-15 12:01:42 +00:00
Leona Maroni
bac3e72803 Merge pull request #318036 from herberteuler/fix/jbr-21
jetbrains-jdk: 17.0.11 -> 21.0.3
2024-06-15 10:47:33 +02:00
K900
f9723bc4de treewide: get rid of ~all mesa.{drivers,osmesa,libdrm} references
mesa.drivers is basically an implementation detail and should never be used
as a dependency of other expressions. It also no longer exists on Darwin.

mesa.osmesa is very niche and should generally be avoided.

mesa.libdrm is used in exactly one place and it's irrelevant there.
2024-06-15 11:07:14 +03:00
Jared Baur
623e23e25f zig_0_12: unbreak clang builds 2024-06-14 23:13:57 -07:00
Jared Baur
d203c3f1e2 zig: 0.12.0 -> 0.12.1 2024-06-14 23:12:41 -07:00
Alyssa Ross
0a71bbb64a gcc: fix building with gcc.cpu on some platforms
This fixes, for example, cross compiling to
{ system = "riscv64-linux"; gcc.cpu = "sifive-u74"; }.
2024-06-15 08:03:18 +02:00
Alyssa Ross
b00f262516 Revert "rustc: disable wasm32 if some gcc options are set"
This reverts commits 6d0ba08b97,
723100d83b, and
bf13eca852.

The underlying issue has now been fixed, so we can re-enable
wasm32-unknown-unknown on all platforms.
2024-06-15 08:02:29 +02:00
Alyssa Ross
6f756b4065 clang: don't set machine flags for overridden target
We already did this for -march in 12b0e8ac74 ("clang: don't set
-march for overridden target"), but it should have been done for all
machine flags, for the same reason.

Example bug this fixes:

	nix-shell -E '
	  with import ./. {
	    crossSystem = {
	      system = "powerpc64le-linux";
	      gcc.cpu = "power10";
	    };
	  };
	  clangStdenv.mkDerivation { name = "test"; }
	' --run '$CC -target wasm32-unknown-unknown -c /dev/null'

Which previously failed with:

      clang: error: unsupported option '-mcpu=' for target 'wasm32-unknown-unknown'
2024-06-15 08:02:29 +02:00
github-actions[bot]
520c7e2ee8 Merge staging-next into staging 2024-06-15 06:01:20 +00:00
tomberek
4d950563ff Merge pull request #304141 from ExpidusOS/feat/llvm-git-2024-04-14
llvmPackages_git: update to 19.0.0-unstable-2024-06-12
2024-06-15 01:48:19 -04:00
R. Ryantm
5630edb358 ballerina: 2201.9.0 -> 2201.9.1 2024-06-15 04:58:06 +00:00
Tristan Ross
a54e49b360 flutter.engine: init 2024-06-14 21:01:16 -07:00
tomberek
933ae429e0 Merge pull request #317861 from ExpidusOS/feat/zig-0.13
zig_0_13: init
2024-06-14 22:13:51 -04:00
tomberek
58631b06ab Merge pull request #319660 from ExpidusOS/feat/flutter-beta
flutterPackages: support beta releases
2024-06-14 22:10:54 -04:00
github-actions[bot]
04a9fe98e1 Merge master into haskell-updates 2024-06-15 00:13:32 +00:00
github-actions[bot]
eccfb1ee94 Merge staging-next into staging 2024-06-15 00:02:47 +00:00
Weijia Wang
e7bd915c7b Merge pull request #318592 from hzeller/feature-20240609-synlig-broken-after-yosys38
synlig: broken after yosys 0.38
2024-06-14 23:01:35 +02:00
Silvan Mosberger
c572d05e10 reason.tests.hello: Prevent unnecessary rebuilds
E.g. from Nix file changes
2024-06-14 22:39:48 +02:00
Anderson Torres
5be6e19f01 jwasm: migrate to by-name 2024-06-14 13:21:33 -03:00
R. Ryantm
476091ce22 dart: 3.4.2 -> 3.4.4 2024-06-14 15:25:58 +00:00
Martin Weinelt
abdf5dc772 treewide: remove pythonRelaxDepsHook references
It is is now provided automatically, when `pythonRelaxDeps` or
`pythonRemoveDeps` is defined through `mk-python-derivation`.
2024-06-14 14:52:00 +02:00
github-actions[bot]
85a9715838 Merge master into haskell-updates 2024-06-14 00:13:38 +00:00