Commit Graph

14685 Commits

Author SHA1 Message Date
github-actions[bot]
93e4495c3e
Merge master into staging-next 2023-04-19 00:01:56 +00:00
Weijia Wang
fb9b5be85e
Merge pull request #226931 from wegank/crystal-dwarf-ignore
crystal.buildCrystalPackage: ignore dwarf files
2023-04-19 01:02:28 +03:00
Weijia Wang
3eb57ca945
Merge pull request #226371 from geopjr-forks/update/crystal
crystal: 1.7 -> 1.8
2023-04-19 00:26:48 +03:00
Weijia Wang
2041e40162 crystal.buildCrystalPackage: ignore dwarf files 2023-04-19 00:16:37 +03:00
Evangelos Paterakis
70cc7966aa
crystal: include pcre even on pcre2 builds 2023-04-18 18:23:52 +03:00
Evangelos Paterakis
35f5549e29
crystal: require pcre2 2023-04-18 16:58:14 +03:00
github-actions[bot]
26bd8755a4
Merge master into staging-next 2023-04-18 06:01:10 +00:00
Adam Joseph
53b6e1a3c5 rustc: fix >=1.68 host!=build
Our `rustc.nix` adds a `--target` flag for the host when doing a
host!=target build, but neglects to add a `--target` flag for the
buildPlatform when doing a build!=(host==target) build.  This commit
corrects that.

Before rustc 1.68 omitting the --target flag for the buildPlatform
did not cause any problems.  As of rustc 1.68, build!=host without a
--target for the build will fail like below (with hundreds more
"cannot find std::" errors.

```
$ nix build -f . -L pkgsCross.aarch64-multiplatform.rustc
...
Copying stage1 library from stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / aarch64-unknown-linux-gnu)
Uplifting stage1 library (x86_64-unknown-linux-gnu -> aarch64-unknown-linux-gnu)
Copying stage2 library from stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / aarch64-unknown-linux-gnu)
Building stage2 tool rust-analyzer-proc-macro-srv (aarch64-unknown-linux-gnu)
   Compiling autocfg v1.1.0
   Compiling libc v0.2.135
   Compiling cfg-if v1.0.0
   Compiling proc-macro2 v1.0.47
   Compiling quote v1.0.21
   Compiling unicode-ident v1.0.5
   Compiling syn v1.0.102
   Compiling once_cell v1.15.0
   Compiling parking_lot_core v0.9.4
   Compiling serde_derive v1.0.145
   Compiling hashbrown v0.12.3
   Compiling scopeguard v1.1.0
   Compiling smallvec v1.10.0
   Compiling log v0.4.17
   Compiling serde v1.0.145
   Compiling rustc-hash v1.1.0
error[E0463]: can't find crate for `std`
error: cannot find macro `println` in this scope
 --> /nix/tmp/nix-build-rustc-aarch64-unknown-linux-gnu-1.68.2.drv-0/rustc-1.68.2-src/vendor/libc-0.2.135/build.rs:7:5
  |
7 |     println!("cargo:rerun-if-changed=build.rs");
  |     ^^^^^^^
error: cannot find macro `println` in this scope
  --> /nix/tmp/nix-build-rustc-aarch64-unknown-linux-gnu-1.68.2.drv-0/rustc-1.68.2-src/vendor/libc-0.2.135/build.rs:16:9
   |
16 |         println!(
   |         ^^^^^^^
error: cannot find macro `println` in this scope
  --> /nix/tmp/nix-build-rustc-aarch64-unknown-linux-gnu-1.68.2.drv-0/rustc-1.68.2-src/vendor/libc-0.2.135/build.rs:29:13
   |
29 |             println!("cargo:rustc-cfg=freebsd10")
   |             ^^^^^^^
```
2023-04-18 14:10:40 +10:00
figsoda
62d678778d
Merge pull request #226754 from aaronjheng/go-jsonnet
go-jsonnet: 0.19.1 -> 0.20.0
2023-04-17 22:39:52 -04:00
Aaron Jheng
1fbdaa0e43
go-jsonnet: 0.19.1 -> 0.20.0 2023-04-18 02:05:19 +00:00
github-actions[bot]
a851087ffa
Merge staging-next into staging 2023-04-18 00:02:42 +00:00
Rahul Butani
98182aec04 llvmPackages_git: unstable-2022-26-07 → 15.0.7
bumping `llvmPackages_git` to match `llvmPackages_15`; this will let us
continuing bringing `llvmPackages_git` to parity with `llvmPackages_15`
without needing to invest time and effort into getting the current
llvmPackages_git's commit's test suite to pass under all the platforms,
etc.

this will also allow us to begin diffing derivations between
`llvmPackages_15` and `llvmPackages_git` as a way of tracking down
remaining differences between the package sets
2023-04-17 20:10:41 +00:00
Rahul Butani
a77eef2bb9 llvmPackages_git: expose the release information and monorepo source as overridable args
backport of d231d18e4a from #194634
(llvmPackages_15)
2023-04-17 20:10:41 +00:00
Rahul Butani
4917dc751c llvmPackages_git.llvm: add checks for the LLVM version
this is a backport of 8afa321b8a
from #194634 (llvmPackages_15)
2023-04-17 20:10:41 +00:00
github-actions[bot]
a75414698b
Merge staging-next into staging 2023-04-17 06:01:46 +00:00
Vincent Laporte
bf8dc7ed76 jasmin-compiler: 2022.09.0 → 2022.09.2 2023-04-17 07:11:46 +02:00
Adam Joseph
016a65fde0
Merge pull request #226559 from amjoseph-nixpkgs/pr/fix/yosys/ghdl
yosys/plugins/ghdl.nix: fix build
2023-04-17 04:47:06 +00:00
Jiajie Chen
0d0e8a1df7 circt: 1.34.0 -> 1.37.0 2023-04-17 09:36:39 +08:00
Adam Joseph
9aa3e69c99 yosys/plugins/ghdl.nix: fix build
Since 12cc34ce2d all yosys plugins are expected to have a
`plugin` attribute; without it they will not build.  This commit
adds one for yosys-ghdl.
2023-04-16 17:47:18 -07:00
github-actions[bot]
3d3f04baba
Merge staging-next into staging 2023-04-17 00:02:39 +00:00
Adam Joseph
9e3b2a5822
Merge pull request #226366 from mmlb/rename-gnatboot
gnatboot: rename to gnat-bootstrap
2023-04-16 22:37:53 +00:00
github-actions[bot]
2280dc4e1f
Merge staging-next into staging 2023-04-16 18:01:43 +00:00
Arnar Gauti Ingason
b605a20539 gleam: 0.27.0 -> 0.28.2 2023-04-16 12:36:02 -04:00
github-actions[bot]
2859a56694
Merge staging-next into staging 2023-04-16 12:01:49 +00:00
Atemu
445ef28548
Merge pull request #225748 from Atemu/buildFHSEnvBubblewrap-by-default
buildFHSEnv: use bubblewrap by default
2023-04-16 13:03:36 +02:00
Atemu
f63a12f296 tree-wide: buildFHSUserEnv -> buildFHSEnv 2023-04-16 10:15:13 +02:00
Vladimír Čunát
f2186222c6
Merge #225846: cc-wrapper: deunify clang/gcc handling of -B
...into staging
2023-04-16 09:59:54 +02:00
Vladimír Čunát
cdf4c593d8
Merge #170215: powerpc64*: use --with-long-double-format=ieee
...into staging
2023-04-16 09:20:57 +02:00
github-actions[bot]
e785d46708
Merge staging-next into staging 2023-04-16 00:03:17 +00:00
GeopJr
e8512ca23f
crystal: 1.7 -> 1.8 2023-04-16 02:25:42 +03:00
Manuel Mendez
31d6802773 gnatboot: rename to gnat-bootstrap
Most other bootstrap compilers are named -bootstrap so lets follow that
pattern.
2023-04-15 18:52:14 -04:00
K900
e8757cd84e
Merge pull request #226242 from K900/bad-jdk
openjdk: explicitly specify build platform to avoid WSL autodetection shenanigans
2023-04-15 22:14:04 +03:00
github-actions[bot]
9b25a3cd1a
Merge staging-next into staging 2023-04-15 18:01:39 +00:00
Ryan Lahfa
dde4134fae
Merge pull request #223256 from NixOS/llvmPackages_git.compiler-rt
llvmPackages_git.compiler-rt: disable iPhone simulator
2023-04-15 19:49:08 +02:00
K900
2e07e19dbd openjdk: explicitly specify build platform to avoid WSL autodetection shenanigans
Fixes #204152
2023-04-15 16:24:07 +03:00
github-actions[bot]
2f5fa4a6f7
Merge staging-next into staging 2023-04-15 06:01:36 +00:00
Sandro Jäckel
e0c22ecf8e javaPackages: cleanup unused code 2023-04-14 22:23:39 -03:00
Sandro Jäckel
8204a95ef2 openjdk: bootstrap headless variant with headless openjdk
This makes bootstrapping work when environment.noXlibs is set to true
2023-04-14 22:23:39 -03:00
github-actions[bot]
bbf9b5deb7
Merge staging-next into staging 2023-04-14 18:01:56 +00:00
Benjamin Lee
2ba48cc8de nim: propagate Security framework to all nim packages on darwin
Many nim packages regressed on darwin after 31254120db, which upgrade nim to 1.6.12. The cause of the breakage is that the nim standard library was changed to link against the Security framework when using the system rng on darwin. Notably not *all* nim packages were broken by this, since packages that don't use this part of the standard library don't need the framework to build.

This commit adds the Security framework to the depsTargetTargetPropagated for the compiler wrapper, since the standard library isn't fully functional without it.
2023-04-14 16:04:31 +00:00
github-actions[bot]
6176f16de2
Merge staging-next into staging 2023-04-14 12:02:03 +00:00
Alyssa Ross
ecbbd3104f rustc: put targetPrefix in pname
Our rustc package is not universal, because we only build std for the
host and target platforms.  This means that a build graph where cross
is involved will end up with multiple rustc packages in it, so it
would be helpful to have a way to tell them apart, just like we do for
e.g. gcc.
2023-04-14 10:05:27 +00:00
Guillaume Maudoux
46a39c48c0
Merge pull request #226038 from SomeoneSerge/cuda_nvrtc-origin
cudaPackages: append $ORIGIN to Runpaths
2023-04-14 11:28:16 +02:00
Alyssa Ross
a1924ebbbf clippy: enable debug info
This was useful while tracking down why clippy was broken when
cross-compiling.
2023-04-14 09:01:29 +00:00
github-actions[bot]
15d0cd57d0
Merge staging-next into staging 2023-04-14 00:02:47 +00:00
Sandro
ea6869e610
Merge pull request #224257 from paveloom/codon 2023-04-14 00:56:33 +02:00
github-actions[bot]
5557fcff78
Merge staging-next into staging 2023-04-13 18:01:58 +00:00
figsoda
a1663fbdf6 rustPlatform.buildRustPackage: fix auditable option when cargo-auditable is not provided to makeRustPlatform 2023-04-13 13:30:39 -04:00
Samuel Ainsworth
929a328dd9
Merge pull request #225661 from SomeoneSerge/jax-libstdcxx
python3Packages.jax: fix libstdc++ mismatch when built with CUDA
2023-04-13 12:28:13 -04:00
Someone Serge
97870fb60c
cudaPackages: append $ORIGIN to runtime paths 2023-04-13 19:12:37 +03:00