Commit Graph

24752 Commits

Author SHA1 Message Date
github-actions[bot]
1eb2a0e2d5 Merge staging-next into staging 2024-09-16 18:04:57 +00:00
Anderson Torres
f0e64ce16f treewide: migrate packages maintained by AndersonTorres to by-name
Manual migration for the sake of by-name migration is no longer discouraged
since #340235.
2024-09-16 14:26:47 -03:00
Thiago Kenji Okada
b34e8e9ce1 openjfx22: 22.0.1-ga -> 22.0.2-ga; openjfx{11,17,21,22}: add upstream patch for FFmpeg 7 (#339357) 2024-09-16 16:51:07 +01:00
Henner Zeller
5e310193e8 z88dk: correct install location; make tests work
* The final installation was not at the correct place; looks like
   the DESTDIR that worked previously needs to be PREFIX now.
 * Make tests work. These aldo didn't run anymore even though it
   looked they might've in the past.
   For that, add a bunch of local Perl packages needed by these
   tests that were not available in nixpkgs yet (Plan is to move
   them to perl-packages.nix, but as first step have them local
   here to have a self-contained z88dx.
2024-09-16 08:45:07 -07:00
Henner Zeller
681f4fa861 z88dk: run nixfmt and apply finalAttrs pattern.
No other change.
2024-09-16 08:45:07 -07:00
David McFarland
310ee0019c dotnet: 9.0.0-preview.7 -> 9.0.0-rc.1 (#342299) 2024-09-16 12:30:56 -03:00
David McFarland
bcc99eb197 dotnet: 9.0.0-preview.7 -> 9.0.0-rc.1 2024-09-16 09:02:56 -03:00
Sergei Trofimovich
5012040459 orc: 0.4.39 -> 0.4.40
Changes: https://discourse.gstreamer.org/t/orc-0-4-40-release/2386
2024-09-16 07:14:39 +01:00
github-actions[bot]
4bb582676a Merge master into haskell-updates 2024-09-16 00:16:32 +00:00
github-actions[bot]
952947bdf8 Merge staging-next into staging 2024-09-15 18:04:54 +00:00
Guillaume Girol
07c899657a compiler-rt: apply armv6l patches to llvm >= 15 where applicable (#333922) 2024-09-15 19:39:15 +02:00
Maximilian Bosch
92f4286cd8 llvm{17,18}: fix build w/ glibc-2.40
See https://github.com/llvm/llvm-project/pull/100804 for further
context.

Tests for LLVM 12 to 16 pass fine without this change (the entire
section of the test doesn't exist there), our LLVM 19 already has the
patch applied.
2024-09-15 16:28:39 +02:00
Emily
d71660e9a7 {gcc6,gcc6Stdenv,gfortran6,gcj}: drop (#341714) 2024-09-15 15:13:29 +01:00
Maximilian Bosch
35d12c9cfc gcc: remove "fixed" pthread.h
Fixes

    /nix/store/8pq96x5qsczrmc926795lf7j4dzy2c8q-binutils-patchelfed-ld-2.43.1/bin/ld: ../../src/liblzma/.libs/liblzma.so: undefined reference to `__pthread_cond_timedwait64'
    collect2: error: ld returned 1 exit status

while building `xz` for `stdenv`. The root cause is that glibc replaced
`__USE_TIME_BITS64` with `__USE_TIME64_REDIRECTS`[1]. However, the
stage3 GCC seems to use the bootstrap headers from glibc for
`fixincludes`, i.e. headers w/o this change. Because of that, the xz
build with stage3 stdenv gets a header that looks like this:

    # ifndef __USE_TIME_BITS64
    /* ... */
    # else
    #  ifdef __REDIRECT
    /* ... */
    #  else
    #   define pthread_cond_timedwait __pthread_cond_timedwait64
    #  endif
    # endif

Since __USE_TIME_BITS64 doesn't exist anymore because a new glibc is used
for building, the preprocessor ends up in the condition defining
`__pthread_cond_timedwait64` even though it's not supposed to end up
there since __pthread_cond_timedwait64 doesn't exist on x86_64[2].

I decided to just kill the header here since GCC claims that all the
`pthread.h` only very old glibc versions or platform-specific libcs we
don't use[3].

[1] https://sourceware.org/git/?p=glibc.git%3Ba%3Dcommit%3Bh%3Ddd535f4f19ef2b5c367a362af445ecadcf45401e
[2] https://inbox.sourceware.org/libc-stable/50c0269d-b73c-4e8a-9816-65f72d6082c0@linaro.org/
[3] https://github.com/gcc-mirror/gcc/blob/releases/gcc-14.2.0/fixincludes/inclhack.def
2024-09-15 15:36:48 +02:00
Sandro Jäckel
8b5f6df860 vyper: drop useless pytest-runner 2024-09-15 14:58:57 +02:00
Peter Waller
290ec4e775 llvmPackages.*: Add devExtraCmakeFlags parameter
cmake flags have a 'last flag wins' logic, so by appending to the end of
the flags it is possible to override any cmake flag.

It also ignores (and warns) if a flag is unused, so passing flags across
all packages should be safe if you want to target one package.

In combination with #320261, this PR allows consistently overriding all
packages within LLVM with additional cmake arguments. Consistency here
means for example 'if you override LLVM, then all dependencies on it are
also see the overridden LLVM in their input'. Consistency is hard to
achieve with the other obvious way of implementing this as a user: if
you use overrideAttrs then you have to write a big mess of override code
in order to override all dependents, and this can be very difficult in a
cross-compilation scenario using crossSystem and useLLVM, for example.

With this PR it is possible to write an overlay which overlays
`llvmPackages` with `llvmPackage.override { devExtraCmakeFlags = [ ... ]; }`,
and then the toolchain used with useLLVM in effect should respect
these flags.

This is useful in development for experimenting with the effect of
various flags, hence the chosen name `devCmakeFlags`.

This won't work out of the box without #341855 applied, which fixes
override passthrough.

See-Also: #320261, #341855
Signed-off-by: Peter Waller <p@pwaller.net>
2024-09-15 11:50:52 +01:00
Peter Waller
ddafd4b14a llvmPackages: Reinstate overriding across whole package set
Pull #320261 introduced the possibility to consistently override
dependencies within an llvm package set. I think #325175 accidentally
dropped this, so reinstate it.

Signed-off-by: Peter Waller <p@pwaller.net>
2024-09-15 10:09:34 +01:00
Emily
e55bae7882 gcc{7,8}: use gcc9Stdenv for cross‐compilation
No reason to use `gcc7Stdenv` here that I can see.
2024-09-15 02:45:00 +01:00
Emily
de4388c609 {cc-wrapper,gcc}: drop unused logic and patches 2024-09-15 02:45:00 +01:00
github-actions[bot]
7270465560 Merge master into haskell-updates 2024-09-15 00:17:26 +00:00
R. Ryantm
091353d722 circt: 1.84.0 -> 1.86.0 2024-09-14 23:09:26 +00:00
github-actions[bot]
70ab79847d Merge staging-next into staging 2024-09-14 18:04:45 +00:00
sternenseemann
b039994dad haskell.compiler.ghc*: use matching CLANG & CC on Darwin with LLVM
The Darwin LLVM backend of GHC (which is mostly interesting for
GHC < 9.2) uses clang as configured via the CLANG environment variable
as an assembler. Since it processes outputs of clang as configured via
the CC variable, we need to make sure these versions match or risk CLANG
clang not understanding the output of CC clang.

In the past this wasn't really a problem as due to the fairly old
default clang version in the stdenv, clang 11 would be used for CC.
CLANG would always be a newer version and deal with the output without
any problems.

Ever since the upgrade of the default clang version for
darwin (bcbdb800cf), CC would often be a
newer version of clang than CLANG, causing build problems in some
packages like crypton (for GHC 8.10.7 and 9.0.2 on aarch64-darwin where
the darwin LLVM backend was actually used).
2024-09-14 17:52:09 +02:00
Maciej Krüger
962f168c1a flutter: roll forward missed patches to v3.23 and v3.24 (#341133) 2024-09-14 15:59:56 +02:00
Guillaume Girol
7b6139f472 compiler-rt: apply armv6l patches to llvm >= 15 where applicable
the patches were written for
https://github.com/NixOS/nixpkgs/pull/205176 but not kept for llvm >= 15
2024-09-14 12:00:00 +00:00
R. Ryantm
108f4bc581 osl: 1.13.10.0 -> 1.13.11.0 2024-09-14 11:08:15 +00:00
github-actions[bot]
6c321f0183 Merge staging-next into staging 2024-09-14 06:04:58 +00:00
Tristan Ross
b16a3cff39 llvmPackages_git: 20.0.0-git-2024-09-01 -> 20.0.0-git-2024-09-09 (#340924) 2024-09-13 22:53:07 -07:00
github-actions[bot]
35f1a5b515 Merge master into haskell-updates 2024-09-14 00:15:12 +00:00
github-actions[bot]
5c9c7359c3 Merge staging-next into staging 2024-09-14 00:13:49 +00:00
Maciej Krüger
e50aafe633 musicpod: init at 1.11.0 (#341359) 2024-09-14 00:32:22 +02:00
Fabián Heredia Montiel
eb6d5dbaba gcc49, gcc49Stdenv, gfortran49: remove old implementation (#341254) 2024-09-13 15:28:58 -06:00
Fabián Heredia Montiel
a1acf36ff6 idris2Packages: QoL improvements, test coverage, nixfmt (#341387) 2024-09-13 14:24:22 -06:00
github-actions[bot]
76501a1b92 Merge staging-next into staging 2024-09-13 18:04:52 +00:00
Thiago Kenji Okada
303f08f0c2 flutter: move build-support/flutter to flutter directory (#332623) 2024-09-13 16:14:35 +01:00
Mathew Polzin
fffc206f46 idris2Packages: make idris2Api a more formal package 2024-09-13 03:39:02 -05:00
Mathew Polzin
90d67c3e4f idris2Packages.buildIdris: QoL improvements
- use binary wrapper
- put environment variable into env attribute
- support adding attributes to passthru
2024-09-13 03:35:29 -05:00
Mathew Polzin
43f5fc8e72 idris2: add buildIdris tests 2024-09-13 03:35:29 -05:00
Mathew Polzin
b09ba65a43 idris2Packages: run nixfmt 2024-09-13 03:35:23 -05:00
github-actions[bot]
faf7f6fa64 Merge staging-next into staging 2024-09-13 06:05:28 +00:00
Fabián Heredia Montiel
33a6a5c2f6 temurin-bin: support riscv64-linux (#337620) 2024-09-12 23:01:58 -06:00
Fabián Heredia Montiel
7c19a30c26 dart: 3.5.1 -> 3.5.2 (#338250) 2024-09-12 23:01:07 -06:00
Fabián Heredia Montiel
4222114ebb typescript: 5.5.4 -> 5.6.2 (#340916) 2024-09-12 19:33:52 -06:00
Fabián Heredia Montiel
ffb65815e3 yosys: 0.44 -> 0.45 (#341213) 2024-09-12 18:27:41 -06:00
github-actions[bot]
e8a9683fd8 Merge master into haskell-updates 2024-09-13 00:15:15 +00:00
github-actions[bot]
34de158a5f Merge staging-next into staging 2024-09-13 00:13:45 +00:00
Philip Hayes
8ab57cea8a flutter: prevent built iOS/macOS apps from containing links to nix store 2024-09-12 16:02:37 -07:00
Philip Taron
572baa788b gcc: gcc_13 → gcc_14 (#340612)
@emilazy is co-responsible for choosing the merge this.
2024-09-12 15:21:00 -07:00
Emily
ccd4aee4ab llvmPackages_{14,15,16,17}.lldb: use SWIG 4; swig3: drop (#341384) 2024-09-12 22:34:47 +01:00
Nick Cao
58990bb13a tinygo: 0.32.0 -> 0.33.0 (#341170) 2024-09-12 17:28:18 -04:00