Commit Graph

24752 Commits

Author SHA1 Message Date
Weijia Wang
c4d40b5a4b Merge pull request #266390 from wegank/mcpp-clang-16
mcpp: fix build with clang 16
2023-11-11 00:27:55 +01:00
Lassulus
dee8714463 Merge pull request #265512 from zupo/master 2023-11-10 19:57:42 +01:00
happysalada
463208b41e gleam: fix darwin build 2023-11-10 18:09:33 +00:00
github-actions[bot]
e8096ee1e1 Merge staging-next into staging 2023-11-10 18:01:34 +00:00
Alyssa Ross
afabc4a15d Merge remote-tracking branch 'origin/master' into HEAD
Conflicts:
	pkgs/development/libraries/SDL2/default.nix
2023-11-10 15:18:19 +01:00
rwaweber
96d916a179 go_1_21: 1.21.3 -> 1.21.4 2023-11-10 16:04:53 +10:00
Weijia Wang
7b9f87ff71 mcpp: fix build with clang 16 2023-11-10 02:28:13 +01:00
github-actions[bot]
2fe90802da Merge master into haskell-updates 2023-11-10 00:12:24 +00:00
github-actions[bot]
6a669d1ab2 Merge staging-next into staging 2023-11-09 18:01:27 +00:00
Martin Weinelt
c17ba56fe9 Merge pull request #266321 from lilyinstarlight/fix/llvm-16-wasi
[staging-next] llvmPackages: 12 -> 16 on wasm
2023-11-09 16:07:25 +01:00
github-actions[bot]
5725d489f3 Merge staging-next into staging 2023-11-09 12:01:36 +00:00
github-actions[bot]
2d73797da4 Merge master into staging-next 2023-11-09 12:01:04 +00:00
Thiago Kenji Okada
ea71f1713f Merge pull request #266337 from znaniye/put-name
put name on maintainers list
2023-11-09 10:25:06 +00:00
Alyssa Ross
e3e57b8f18 lib.systems: elaborate Rust metadata
We need this stuff to be available in lib so make-derivation.nix can
access it to construct the Meson cross file.

This has a couple of other advantages:

 - It makes Rust less special.  Now figuring out what Rust calls a
   platform is the same as figuring out what Linux or QEMU call it.

 - We can unify the schema used to define Rust targets, and the schema
   used to access those values later.  Just like you can set "config"
   or "system" in a platform definition, and then access those same
   keys on the elaborated platform, you can now set "rustcTarget" in
   your crossSystem, and then access "stdenv.hostPlatform.rustcTarget"
   in your code.

"rustcTarget", "rustcTargetSpec", "cargoShortTarget", and
"cargoEnvVarTarget" have the "rustc" and "cargo" prefixes because
these are not exposed to code by the compiler, and are not
standardized.  The arch/os/etc. variables are all named to match the
forms in the Rust target spec JSON.

The new rust.target-family only takes a list, since we don't need to
worry about backwards compatibility when that name is used.

The old APIs are all still functional with no warning for now, so that
it's possible for external code to use a single API on both 23.05 and
23.11.  We can introduce the warnings once 23.05 is EOL, and make them
hard errors when 23.11 is EOL.
2023-11-09 10:02:24 +01:00
github-actions[bot]
fecd99b105 Merge staging-next into staging 2023-11-09 06:01:40 +00:00
Weijia Wang
e49468c266 Merge pull request #266162 from reckenrode/chicken-fix
chickenPackages_4.chicken: fix build on x86_64-darwin
2023-11-09 06:43:38 +01:00
Weijia Wang
83bfbf0213 Merge pull request #265490 from alyssais/compiler-rt-16-freebsd
llvmPackages_16.compiler-rt: fix FreeBSD build
2023-11-09 06:12:20 +01:00
github-actions[bot]
f3e8efda49 Merge master into haskell-updates 2023-11-09 00:12:27 +00:00
github-actions[bot]
50249cdaf2 Merge staging-next into staging 2023-11-09 00:02:40 +00:00
github-actions[bot]
00a0662a3c Merge master into staging-next 2023-11-09 00:02:14 +00:00
znaniye
8b2821da58 odin: add znaniye as maintainer 2023-11-08 20:14:54 -03:00
Someone Serge
4e4bbb01eb cudaPackages: redist: EULA notice in the description
...to be displayed on search.nixos.org &c; this is the same notice as
included by conda-forge per agreement with nvidia; cf. comments in
https://github.com/NixOS/nixpkgs/pull/76233
2023-11-08 19:06:44 -03:00
Someone Serge
47209852a9 cudaPackages: redist: mark as prebuilt binary 2023-11-08 19:06:44 -03:00
Someone Serge
6cd3e9ce1a cudaPackages: redist components: per-package license url 2023-11-08 19:06:44 -03:00
Tyler Benster
dae1e0d49a cudatoolkit: add NVIDIA license 2023-11-08 19:06:44 -03:00
Thiago Kenji Okada
023b99e916 Merge pull request #266314 from znaniye/update-odin
odin: dev-2023-08 -> dev-2023-11
2023-11-08 20:38:48 +00:00
Wael Nasreddine
abdb350e04 Merge pull request #266181 from qowoz/go120 2023-11-08 12:16:15 -08:00
Lily Foster
e58eaa0ee9 llvmPackages_{15,16}: fix libcxxabi -fno-exceptions build for wasm 2023-11-08 13:51:49 -05:00
znaniye
378de6ae1c odin: dev-2023-08 -> dev-2023-11 2023-11-08 15:15:34 -03:00
Luflosi
46478168d2 yosys: 0.34 -> 0.35
https://github.com/YosysHQ/yosys/releases/tag/yosys-0.35
2023-11-08 15:21:36 +01:00
Luflosi
e947b23190 yosys: use finalAttrs 2023-11-08 15:21:34 +01:00
Luflosi
e24783fe6f yosys: add Luflosi as maintainer 2023-11-08 15:21:33 +01:00
github-actions[bot]
d49b3ff9e3 Merge staging-next into staging 2023-11-08 12:02:19 +00:00
github-actions[bot]
263a89fa08 Merge master into staging-next 2023-11-08 12:01:20 +00:00
Adam Joseph
a738046341 Update pkgs/development/compilers/gcc/patches/default.nix 2023-11-08 10:50:07 +00:00
Randy Eckenrode
299c06a0f5 gcc{48,49,6,7,8,9,10}: improve cctools-llvm compatibility
darwin.cctools defaults to `llvm-strip` when the version of LLVM in the
stdenv is 12 or newer. This strip implementation does not support the
`-c` flag required by older versions of GCC. Use the cctools-port
version for compatibility when building older versions of GCC.
2023-11-08 10:50:07 +00:00
Randy Eckenrode
bec14225ab gcc{48,49,6,7,8,9,10}: fix missing symbol errors on x86_64-darwin
The x86_64-darwin build fails with the following symbol errors when
building gencondmd:

    Undefined symbols for architecture x86_64:
      "_ix86_excess_precision", referenced from:
          ___cxx_global_var_init.101 in gencondmd.o
      "_ix86_fpmath", referenced from:
          ___cxx_global_var_init.101 in gencondmd.o
      "_ix86_isa_flags", referenced from:
          ___cxx_global_var_init.101 in gencondmd.o
      "_ix86_unsafe_math_optimizations", referenced from:
          ___cxx_global_var_init.101 in gencondmd.o
      "_target_flags", referenced from:
          ___cxx_global_var_init.101 in gencondmd.o

This commit applies a workaround posted to the GCC BugZilla.
See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92061.
2023-11-08 10:50:07 +00:00
Randy Eckenrode
93153208cc gcc{8,9}: don’t pass --gstabs to clang assembler
Darwin uses the clang integrated assembler, which does not support
`--gstabs`. While the `configure` script detects whether the assembler
supports it, Darwin passes `--gstabs` unconditionally. This patch is
backported to make the bootstrap only use it when supported.
2023-11-08 10:50:07 +00:00
Randy Eckenrode
d4f8aac2c5 gcc{48,49,6}: don’t use -pipe with clang assembler
Older versions of GCC use `-pipe` on Darwin due to compatibility
problems with older cctools assemblers. Darwin now uses the clang
integrated assembler. While it is possible to pipe input into it, the
wrapper used in nixpkgs is not set up for it.

Fixing the wrapper would cause all of Darwin to rebuild, which is not
desirable, so just disable `-pipe` in the bootstrap configuration. The
clang integrated assembler doesn’t have the bug anyway.
2023-11-08 10:50:07 +00:00
Randy Eckenrode
e06f05d23c gcc11: fix build on aarch64-darwin
The libgcc configure script was middetecting aarch64-darwin and trying
to use a deployment target of 10.5, which is not valid for that
platform. The build was failing because the linker was looking for stubs
that don’t exist (neither as part of the source releases nor as part of
the official SDK from Apple).

Backporting the `config.host` check and `t-darwin-rpath` from GCC 12
allows GCC 11 to build again on aarch64-darwin.
2023-11-08 10:50:07 +00:00
Randy Eckenrode
b09f87fb0d gcc48: disable on x86_64-darwin
According to Hydra, the last time GCC 4.8 successfully built on Darwin
was October 2014. It is possible to make the first stage build
successfully with clang, but the resulting GCC is not capable of reading
the Darwin SDK headers due to their use of `__can_include`.

It’s been broken for almost a decade, so just disable it.
2023-11-08 07:32:47 +00:00
zowoq
e7ef0556e6 go_1_20: 1.20.10 -> 1.20.11
Changelog: https://go.dev/doc/devel/release#go1.20
2023-11-08 13:54:20 +10:00
github-actions[bot]
fe1578be1e Merge master into haskell-updates 2023-11-08 00:12:22 +00:00
Randy Eckenrode
c9575b19aa chickenPackages_4.chicken: fix build on x86_64-darwin
Use the `@executable_path` because the full path to the store is too long.

Also add the target prefix to `install_name_tool`.
2023-11-07 18:50:29 -05:00
github-actions[bot]
d0018c61ff Merge staging-next into staging 2023-11-07 18:01:28 +00:00
github-actions[bot]
1505981287 Merge master into staging-next 2023-11-07 18:00:55 +00:00
Peder Bergebakken Sundt
44018d1c4f Merge pull request #266066 from onemoresuza/hare
hare: add onemoresuza as the maintainer
2023-11-07 17:51:52 +02:00
OTABI Tomoya
5670eccbf8 Merge pull request #265874 from Delta456/update_vlang
vlang: 2023.42 -> 2023.44
2023-11-08 00:32:56 +09:00
Gustavo Coutinho de Souza
e3bac87a89 hare: add onemoresuza as the maintainer
Since harec is part of its bootstrapping and it's also orphaned, also
add onemoresuza as its maintainer.
2023-11-07 11:04:35 -03:00
github-actions[bot]
599850da55 Merge staging-next into staging 2023-11-07 12:01:25 +00:00