Commit Graph

24752 Commits

Author SHA1 Message Date
sternenseemann
bc6ffb69f0 haskell.compiler: unify logic determining whether NCG is available
This change only consolidates the logic for the source built GHCs which
have used the same logic (at least as long as you'd only use the
respective supported version ranges of the expressions as inputs).
2025-02-04 17:00:51 +01:00
Vladimír Čunát
a3e8b3ee1c llvmPackages: fix broken symlink (#377186) 2025-02-04 07:54:35 +01:00
nixpkgs-ci[bot]
528ae2d8c7 Merge staging-next into staging 2025-02-04 00:14:40 +00:00
Martin Weinelt
35ab2d574c Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
- pkgs/by-name/ca/cargo-show-asm/package.nix
- pkgs/by-name/ja/jay/package.nix
2025-02-03 20:29:14 +01:00
misuzu
6e2c645c27 pony-corral: 0.8.1 -> 0.8.2 (#377097) 2025-02-03 20:48:22 +02:00
nixpkgs-ci[bot]
c721a7fb35 Merge staging-next into staging 2025-02-03 18:05:46 +00:00
K900
945d2e2a7a Merge remote-tracking branch 'origin/master' into staging-next 2025-02-03 18:00:08 +03:00
7c6f434c
d3376dec33 sbcl: 2.5.0 -> 2.5.1 (#378320) 2025-02-03 12:46:00 +00:00
nixpkgs-ci[bot]
c9f5d2d21e Merge staging-next into staging 2025-02-03 12:06:27 +00:00
sternenseemann
b8685d0b0b haskell.compiler.*: NCG is no longer available on sparc for >= 9.4
https://downloads.haskell.org/~ghc/9.4.1/docs/users_guide/9.4.1-notes.html
2025-02-03 11:58:14 +01:00
K900
5c3fd0ab9f Merge remote-tracking branch 'origin/master' into staging-next 2025-02-03 09:17:01 +03:00
Luka Blašković
3250c94d98 cargo,clippy,rustfmt,rustc: 1.84.0 -> 1.84.1 2025-02-03 09:39:30 +10:00
Henner Zeller
13b7493c0a synlig: 2024-11-29 -> 2024-12-10 2025-02-02 13:26:39 -08:00
K900
97a3367a33 Revert "gcc: disable symlink checks on cross + nolibc for now"
This reverts commit 3fd43d5d74.

The proper fix is now in.
2025-02-02 22:12:49 +03:00
K900
c1907fbbf0 gcc: rework, clean up, and document the cursed symlink hack
Fixes dangling symlinks.

Also flips the direction of symlinks on cross
from $lib/$target/lib -> $lib/lib to $lib/lib -> $lib/$target/lib
2025-02-02 22:12:49 +03:00
Daniel Nagy
86950f00de chickenPackages.chickenEggs: update 2025-02-02 10:15:00 +01:00
Daniel Nagy
6c6784a197 chickenPackages.chickenEggs: adapt update script 2025-02-02 10:15:00 +01:00
K900
1fa0be855c Merge remote-tracking branch 'origin/staging-next' into staging 2025-02-02 09:49:00 +03:00
K900
3fd43d5d74 gcc: disable symlink checks on cross + nolibc for now
This is a hack, but a proper fix requires an stdenv rebuild,
so it will have to go to staging.
2025-02-02 09:47:58 +03:00
Jörg Thalheim
c8b5329e7a rust: fix splicing for rust hooks (#369424) 2025-02-02 00:48:20 +07:00
R. Ryantm
db981947e3 llvmPackages_18.lldbPlugins.llef: 1.2.0 -> 1.2.1 2025-02-01 02:48:34 +00:00
Hraban Luyat
0cba8ebde6 sbcl: 2.5.0 -> 2.5.1 2025-01-31 12:07:58 -05:00
nixpkgs-ci[bot]
0931f1dcef Merge staging-next into staging 2025-01-31 12:06:24 +00:00
DavHau
db4cf6cb1d rust: fix splicing for rust hooks
This fixes a long standing issue where rust hooks behave differently when used inside buildRustPackage vs inside mkDerivation, which lead to surprising behavior, like for example the package being built for the wrong paltform or the linker not being found especially in cross compilation scenarios.

The reason for this inconsitency was, that buildRustPackage consumed the hooks in a non-spliced form, via [this inherit statement](4506ece030/pkgs/development/compilers/rust/make-rust-platform.nix (L60)), and therefore the usual platform shift on the hooks introduced by putting them in `nativeBuildInputs` was not applied here.

Thoug whenever the hook was used inside other builders like `mkDerivation` the platform shift did apply correctly as the hook was consumed via the spliced package set, introducing the inconsitecy.

Because of the wrong (non-spliced) use in buildRustPackage, most rust hooks have been designed with the wrong build/host/target shift in mind which is fixed by this change.

Due to the inconsitent behavior between different builders, workarounds like `rust.envVars`, which were previously introduced, likely become obsolete by this change.

This likely fixes a bunch of cross compilation issues for rust packages that are not based on `buildRustPackage` but instead consume the hooks directly.

Done:
- ensure that `buildRustPackage` consumes spliced hooks by using makeScopeWithSplicing' in make-rust-platform.nix.
- refactor hooks to make them refer to correct build/host/target packages.
- remove `rust.envVars` workaround from all rust hooks
- implement tests for most rust hooks in /pkgs/test/rut-hooks

The newly added tests can be executed for native as well as cross compilation via:
```
nix-build -A tests.rust-hooks -A pkgsCross.riscv64.tests.rust-hooks
```
2025-01-31 18:18:46 +07:00
Vladimír Čunát
c3c1643d8a libgccjit, gccgo*: remove a reflexive symlink
https://hydra.nixos.org/build/286689241/nixlog/7/tail
https://hydra.nixos.org/build/287154953/nixlog/1/tail

Feel free to improve this ;-)
2025-01-31 10:11:35 +01:00
nixpkgs-ci[bot]
8fb7d775ea Merge 06d633e659 into haskell-updates 2025-01-31 00:18:01 +00:00
nixpkgs-ci[bot]
089bfe7c41 Merge staging-next into staging 2025-01-30 18:04:56 +00:00
Alyssa Ross
97fc6f36d0 Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
	pkgs/by-name/ez/eza/package.nix
	pkgs/by-name/re/rewatch/package.nix
	pkgs/by-name/rq/rqbit/package.nix
	pkgs/development/python-modules/diffusers/default.nix
	pkgs/development/python-modules/manga-ocr/default.nix
	pkgs/development/tools/misc/texlab/default.nix
2025-01-30 15:02:26 +01:00
Gaétan Lepage
e2b93da896 halide: 18.0.0 -> 19.0.0 (#375175) 2025-01-30 12:10:55 +01:00
misuzu
2ea18519ba llvmPackages.openmp: fix cross build (#375277) 2025-01-29 21:54:37 +02:00
nixpkgs-ci[bot]
ff8afbb98d Merge 4a3faa5e86 into haskell-updates 2025-01-29 00:17:24 +00:00
Alyssa Ross
51fa0b03f5 cargo-auditable: useFetchCargoVendor
Cargo 1.84.0 seems to have changed the output format of cargo vendor
again, once again invalidating fetchCargoTarball FOD hashes.  It's
time to fix this once and for all, switching across the board to
fetchCargoVendor, which is not dependent on cargo vendor's output
format.
2025-01-28 13:31:22 +01:00
Alyssa Ross
35febc093c Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
	pkgs/by-name/ha/harper/package.nix
2025-01-28 13:29:32 +01:00
Peter Waller
7f84ec2011 llvmPackages_git: 20.0.0-git-2024-12-17 -> 20.0.0-git-2025-01-25
* Drop patches applied upstream.
* Fix polly patch for upstream changes.

Signed-off-by: Peter Waller <p@pwaller.net>
2025-01-28 10:43:53 +01:00
nixpkgs-ci[bot]
427765a603 Merge master into staging-next 2025-01-28 06:04:44 +00:00
David McFarland
b7614895ef dotnet: default to source-built sdk/runtimes (#363008) 2025-01-27 21:43:10 -04:00
nixpkgs-ci[bot]
462285d7ee Merge 6ddb0f7cdd into haskell-updates 2025-01-28 00:18:17 +00:00
Martin Weinelt
33647a8179 Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
- pkgs/by-name/ca/cargo-leptos/package.nix
- pkgs/by-name/ha/harper/package.nix
- pkgs/by-name/ma/marmite/package.nix
- pkgs/by-name/no/nomino/package.nix
- pkgs/by-name/st/stgit/package.nix
- pkgs/development/python-modules/pycm/default.nix
- pkgs/development/python-modules/python-gvm/default.nix
- pkgs/development/tools/rbspy/default.nix
2025-01-28 00:15:44 +01:00
Nick Cao
794cca232d julia_110{,-bin}: 1.10.4 -> 1.10.8 (#361201) 2025-01-27 16:37:11 -05:00
David McFarland
07271da986 dotnet: default to source-built sdk/runtimes 2025-01-27 14:38:56 -04:00
Tom Westerhout
2fa5a892d9 halide: 18.0.0 -> 19.0.0 2025-01-27 14:43:29 +00:00
Vladimír Čunát
3d09bba98d Merge branch 'staging' into staging-next
Conflicts:
      pkgs/by-name/ba/bacon/package.nix
      pkgs/by-name/be/beancount-language-server/package.nix
      pkgs/by-name/fl/flake-edit/package.nix
      pkgs/by-name/fw/fw/package.nix
      pkgs/by-name/im/impression/package.nix
      pkgs/by-name/in/inori/package.nix
      pkgs/by-name/pi/pika-backup/package.nix
      pkgs/by-name/ri/rip2/package.nix
      pkgs/by-name/sn/sniffnet/package.nix
      pkgs/by-name/sy/syndicate_utils/package.nix
      pkgs/development/tools/misc/texlab/default.nix
In the cases where an update collided with cargoHash change,
I took the hash from the update.
2025-01-27 09:52:04 +01:00
Tristan Ross
2ca29c56ef zig: split cc and bintools wrappers 2025-01-26 22:10:45 -08:00
Tristan Ross
50e0d27a0e zig.cc: add bintools 2025-01-26 22:10:45 -08:00
Tristan Ross
3fc45e16ab zig: commonify 2025-01-26 22:10:42 -08:00
Emily
8b9a57c1a9 llvmPackages: fix broken symlink in mkExtraBuildCommandsBasicRt 2025-01-27 01:30:04 +00:00
nixpkgs-ci[bot]
233f122de1 Merge 798f303659 into haskell-updates 2025-01-27 00:18:15 +00:00
Emily
bba2501df8 Revert "llvmPackages.tblgen: add missing lldb-tblgen"
Breaks Darwin bootstrap:

    CMake Error at /tmp/nix-build-llvm-tblgen-19.1.7.drv-0/llvm-tblgen-src-19.1.7/lldb/test/CMakeLists.txt:197 (message):
      LLDB test suite requires libc++, but it is currently disabled.  Please add
      `libcxx` to `LLVM_ENABLE_RUNTIMES` or disable tests via
      `LLDB_INCLUDE_TESTS=OFF`.

It’s probably not too hard to fix but I don’t really understand the
details of this derivation and it’s blocking Darwin `stdenv` builds
with a few days to go until the next cycle, so reverting for now.

This reverts commit d175d8a4c5.
2025-01-26 23:44:51 +00:00
Alyssa Ross
6c81b4ab55 elmPackages.elm-json: useFetchCargoVendor
Cargo 1.84.0 seems to have changed the output format of cargo vendor
again, once again invalidating fetchCargoTarball FOD hashes.  It's
time to fix this once and for all, switching across the board to
fetchCargoVendor, which is not dependent on cargo vendor's output
format.
2025-01-26 21:40:08 +01:00
Alyssa Ross
8a07bcadfd dart.rhttp: useFetchCargoVendor
Cargo 1.84.0 seems to have changed the output format of cargo vendor
again, once again invalidating fetchCargoTarball FOD hashes.  It's
time to fix this once and for all, switching across the board to
fetchCargoVendor, which is not dependent on cargo vendor's output
format.
2025-01-26 21:37:06 +01:00