Commit Graph

24752 Commits

Author SHA1 Message Date
Philip Hayes
492e603ecd flutter: fix iOS build error
Without this patch, `xcode_backend.sh` gets confused by the flutter SDK
`symlinkJoin` and picks up the `dart` executable from `flutter-unwrapped`,
which manifests in the following error during an iOS/macOS build:

```
Error (Xcode): Target debug_unpack_ios failed: Error: Flutter failed to create a directory at "/<nix-store-path>-flutter-3.24.1-unwrapped/bin/cache/artifacts".
```
2024-09-12 14:03:47 -07:00
Emily
db5f130b43 gforth: adjust comment
This no longer uses the `swig3` package.
2024-09-12 18:39:57 +01:00
Emily
b4bfb99048 swift: disable zerocallusedregs on all AArch64 2024-09-12 18:39:57 +01:00
Emily
6bbe65701d swift: add LLVM patches for SWIG 4 2024-09-12 18:11:01 +01:00
Anderson Torres
a0f3c9ac50 flutter: move build-support/flutter to flutter directory
Rationale:

With the advent of RFC 140, Nixpkgs becomes to promote self-contained package
directories and strongly discourages scattering along the old and deprecated
filesystem hierarchy.

Further, `build-support/flutter/*` is not referenced by any other expressions in
Nixpkgs besides flutter itself.

Further, concentrating all Flutter-related toolset below a same directory
hierarchy (arguably?) eases maintenance and future migrations.
2024-09-12 13:20:33 -03:00
Emily
1e9f032878 llvmPackages_{14,15,16,17}.lldb: use SWIG 4
The patches are already included in LLVM 16 and 17.
2024-09-12 15:41:30 +01:00
Emily
0fe59d8900 llvmPackages_{12,13}.lldb: mark broken
These have been failing to build on Hydra for over two months. It
looks like it might be a Python 3.12‐related thing, but the SWIG
4 patches wouldn’t apply cleanly and these old versions should
probably just be dropped anyway.
2024-09-12 14:25:25 +01:00
github-actions[bot]
9aa2846ef6 Merge staging-next into staging 2024-09-12 12:05:54 +00:00
aleksana
0439241c54 dart.super_native_extensions: init 2024-09-12 18:31:33 +08:00
Emily
80aafedd94 gforth: override swig, not swig3 (#341230) 2024-09-12 11:17:48 +01:00
Sergei Trofimovich
88950412bc gcc49, gcc49Stdenv, gfortran49: remove old implementation
gcc-4.9.4 was released in Aug 3, 2016, 8 years ago. It's a branch that
went out of support years ago. Numerous bugs never get backported to
this version.

Let's remove it.
2024-09-12 10:32:19 +01:00
Emily
bce3d51295 [v2] rust: Write to .cargo/config.toml instead of .cargo/config (#331167) 2024-09-12 09:53:36 +01:00
github-actions[bot]
76f4ef688d Merge staging-next into staging 2024-09-12 06:05:16 +00:00
Weijia Wang
d6796b28ef ligo: unbreak on aarch64-linux 2024-09-12 07:03:27 +02:00
Artturin
413a052d9d dtc: disable tests when building statically (#341023) 2024-09-12 07:42:40 +03:00
K900
4e803e9656 Merge remote-tracking branch 'origin/staging-next' into staging 2024-09-12 07:00:07 +03:00
Manuel Mendez
17b3df2861 rust: Write to .cargo/config.toml instead of .cargo/config
Seeing the following new warnings pop up on stderr when cargo was bumped
to 1.78:

```
warning: `/build/.cargo/config` is deprecated in favor of `config.toml`
note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`
```

which happens to break commitmsgfmt builds in nix (#320294).

closes #320294
2024-09-11 21:03:32 -04:00
github-actions[bot]
7bb57252e4 Merge master into haskell-updates 2024-09-12 00:15:55 +00:00
Emily
c6932c00ca gfortran48, gcc48, texinfo5: removal of the old version (#341100) 2024-09-11 21:47:20 +01:00
Philip Taron
d1d2419804 treewide: support structuredAttrs in setup hooks (part 3) (#340592) 2024-09-11 12:45:10 -07:00
Ben Darwin
7e26b553f9 gforth: override swig, not swig3
This removes one of two remaining usages of the top-level `swig3` expression.
(The other comes from older LLDB versions.)

Also removes use of overrideDerivation in favour of preferred overrideAttrs.
2024-09-11 14:06:16 -04:00
Luflosi
0b85766161 yosys: 0.44 -> 0.45
https://github.com/YosysHQ/yosys/releases/tag/0.45
2024-09-11 17:24:07 +02:00
Ayke van Laethem
f04a15faf6 tinygo: 0.32.0 -> 0.33.0 2024-09-11 11:45:38 +02:00
Tom Dohrmann
74df7532f2 dtc: disable tests when building statically
One of the tests tries to build a shared library. This fails with the
following messages:
/nix/store/ihajn8cwijqqxz3rvrlznaz339vh2gac-x86_64-unknown-linux-musl-binutils-2.42/bin/x86_64-unknown-linux-musl-ld: /nix/store/h9gcvnp90mpniyx2v0d0p3s06hkx1v2p-x86_64-unknown-linux-musl-gcc-13.3.0/lib/gcc/x86_64-unknown-linux-musl/13.3.0/crtbeginT.o: relocation R_X86_64_32 against hidden symbol `__TMC_END__' can not be used when making a shared object
/nix/store/ihajn8cwijqqxz3rvrlznaz339vh2gac-x86_64-unknown-linux-musl-binutils-2.42/bin/x86_64-unknown-linux-musl-ld: failed to set dynamic section sizes: bad value
2024-09-11 10:00:36 +02:00
Fabián Heredia Montiel
a4145a81d1 treewide: add -Wno-error= due to compilation error with gcc_14 2024-09-11 01:44:17 -06:00
Philip Hayes
f8891ec8de flutter: roll forward missed patches to v3.23 and v3.24 2024-09-10 18:37:37 -07:00
github-actions[bot]
14ba90a8e8 Merge master into haskell-updates 2024-09-11 00:15:39 +00:00
github-actions[bot]
408e32a8fe Merge staging-next into staging 2024-09-11 00:13:38 +00:00
Sergei Trofimovich
1db443abb7 gcc48: remove old implementation
gcc-4.8.5 was released in June 23, 2015, 9 years ago. It's a branch that
went out of support years ago. Numerous bugs never get backported to
this version.

Let's remove it.
2024-09-10 22:05:47 +01:00
Weijia Wang
752cd39c71 fstar: 2024.01.13 -> 2024.09.05 (#335538) 2024-09-10 22:13:38 +02:00
Weijia Wang
166126d1e7 llvmPackages_14.lldbPlugins.llef: 1.1.0 -> 1.2.0 (#335122) 2024-09-10 21:43:22 +02:00
github-actions[bot]
e8bf28cd05 Merge staging-next into staging 2024-09-10 18:06:21 +00:00
Artturin
1cd6cbe62f jasmin-compiler: propagate angstrom (#340756) 2024-09-10 20:39:09 +03:00
Alyssa Ross
5f125d57c3 cargo,clippy,rustc,rustfmt: 1.80.1 -> 1.81.0
Fixes: CVE-2024-24576
2024-09-10 15:02:38 +02:00
Tristan Ross
632c74153f llvmPackages_git: 20.0.0-git-2024-09-01 -> 20.0.0-git-2024-09-09 2024-09-09 20:30:53 -07:00
R. Ryantm
c4043f3ad5 typescript: 5.5.4 -> 5.6.2 2024-09-10 02:43:20 +00:00
github-actions[bot]
fbd40df83b Merge master into haskell-updates 2024-09-10 00:15:21 +00:00
github-actions[bot]
6bb37a137e Merge staging-next into staging 2024-09-09 12:06:25 +00:00
github-actions[bot]
90a93f92bb Merge master into staging-next 2024-09-09 12:05:58 +00:00
Vincent Laporte
3f03dc83be jasmin-compiler: propagate angstrom 2024-09-09 13:36:26 +02:00
Doron Behar
d344cafc17 openjdk22: add version test (#340117) 2024-09-09 10:45:19 +00:00
sternenseemann
7fff04332d haskell.compiler.ghc{96,98,910}: use emscripten installCC for ghcjs
An oversight in 884a76c5e6: We need to
mirror the isGhcjs condition of targetCC (toolsForTarget) for installCC
as well. (Note that in practice, targetCC == installCC for ghcjs since
it is cross-only (?).)
2024-09-09 12:04:18 +02:00
José Luis Lafuente
b839e6963f openjdk22: add version test 2024-09-09 09:04:42 +03:00
github-actions[bot]
fee9184d2e Merge master into haskell-updates 2024-09-09 00:16:33 +00:00
sternenseemann
2dae22748f haskell.compiler.*: set correct runtime LLVM tools in settings
Note that the clang command should be adapted in the future as done for
CLANG in #338782.
2024-09-08 23:50:05 +02:00
sternenseemann
de13f8f454 haskell.compiler.*: set cctools tools in settings if applicable 2024-09-08 23:50:05 +02:00
sternenseemann
8c08fb1090 haskell.compiler.ghc9{6,8,10}: update comment about stage selection
The build platform doesn't matter for checking which stage is our final
stage! Stage2 means host and target are sufficiently similar, Stage1
means host and target may differ.
2024-09-08 23:50:05 +02:00
sternenseemann
8b6009f852 haskell.compiler.ghc96: fix incorrect unlit path for cross compilers
Hadrian started installing unlit with a targetPrefix (if applicable)
which wasn't the case with make before. Unfortunately, the logic to
generate the settings file wasn't updated, so GHC 9.6.* cross compilers
expect to find an unlit binary without a target prefix.

Upstream issue: https://gitlab.haskell.org/ghc/ghc/-/issues/23317
2024-09-08 23:50:05 +02:00
Alex Tunstall
322bab8284 haskell.compiler.ghc*: allow all platforms
Propagating the supported platforms of the boot compiler doesn't make
much sense when unregistered cross-compilation is possible.
2024-09-08 23:50:05 +02:00
Alex Tunstall
d3bad45240 haskell.compiler.ghc*: assert cross is possible 2024-09-08 23:50:05 +02:00