Commit Graph

14644 Commits

Author SHA1 Message Date
Weijia Wang
2041e40162 crystal.buildCrystalPackage: ignore dwarf files 2023-04-19 00:16:37 +03: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
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
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
Adam Joseph
9e3b2a5822
Merge pull request #226366 from mmlb/rename-gnatboot
gnatboot: rename to gnat-bootstrap
2023-04-16 22:37:53 +00:00
Arnar Gauti Ingason
b605a20539 gleam: 0.27.0 -> 0.28.2 2023-04-16 12:36:02 -04: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
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
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
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
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
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
Sandro
ea6869e610
Merge pull request #224257 from paveloom/codon 2023-04-14 00:56:33 +02: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
Sandro
936e99baff
Merge pull request #225822 from avh4/elm-format-0.8.7
elmPackages.elm-format: 0.8.6 -> 0.8.7
2023-04-13 15:39:19 +02:00
Alyssa Ross
0944487ccf clippy: use the right rustc when cross compiling
When cross compiling, buildPackages.cargo uses a rustc that can build
for both the build and host platforms.  This was not true of
buildPackages.clippy, so it was not possible to use clippy for a cross
target.  Now it is.

I've modified clippy.nix to use rustc from rustPlatform, so we only
have to add a single override in default.nix.
2023-04-13 10:19:53 +00:00
7c6f434c
587444af72
Merge pull request #209024 from hraban/sbcl-cleanup
sbcl: cleanup old versions
2023-04-13 08:44:57 +00:00
Pavel Sobolev
4c49c70772
codon: init at 0.15.5 2023-04-13 11:02:00 +03:00
Someone Serge
ad0606288b
cudaPackages.backendStdenv: cc and libstdc++ as arguments; expose libstdc++ 2023-04-13 01:45:49 +03:00
Weijia Wang
6fc6b8f2cc chickenPackages: reduce brokenOnDarwin 2023-04-12 15:35:37 +03:00
Weijia Wang
a603e9044c
Merge pull request #225861 from wegank/chicken-pkg-config
chickenPackages: pass pkg-config to more packages
2023-04-12 14:54:29 +03:00
Weijia Wang
b3e98b8080
Merge pull request #225878 from wegank/chicken-frameworks
chickenPackages: add missing deps
2023-04-12 14:50:32 +03:00
Weijia Wang
3ea257209d
Merge pull request #225859 from wegank/chicken-cxx
chickenPackages_5.chickenEggs.taglib: unbreak on darwin
2023-04-12 14:21:29 +03:00
Vladimír Čunát
2a3291834f
Merge #224806: staging-next 2023-04-05 2023-04-12 13:18:37 +02:00
Weijia Wang
6b7f0fbe8a chickenPackages_5.chickenEggs.opencl: unbreak on darwin 2023-04-12 13:37:58 +03:00
Et7f3
a40dfa4f64 chickenPackages_5.chickenEggs.allegro: Add missing deps 2023-04-12 13:36:45 +03:00
Weijia Wang
d51f7d4ef7 chickenPackages_5.chickenEggs.taglib: unbreak on darwin 2023-04-12 13:34:23 +03:00
Weijia Wang
edfb1b1d4f chicken: pass CXX_COMPILER 2023-04-12 13:33:57 +03:00
Weijia Wang
72767191dd chickenPackages: pass pkg-config to more packages 2023-04-12 13:32:47 +03:00
Weijia Wang
da30065bc8
Merge pull request #225775 from nagy/chicken-broken
chickenPackages: mark more as broken
2023-04-12 13:27:35 +03:00
Vladimír Čunát
9bf18e069e
llvmPackages_13.compiler-rt-libc: also apply tmp hack
This part got forgotten in commit ac3acd956f.
2023-04-12 11:26:19 +02:00
Sandro
98853bbb80
Merge pull request #225833 from JamieMagee/dotnet-8.0
dotnet-sdk_8: 8.0.100-preview.2.23157.25 -> 8.0.100-preview.3.23178.7
2023-04-12 10:54:49 +02:00
Sandro
5666b3c419
Merge pull request #225836 from JamieMagee/dotnet-7.0
dotnet-sdk_7.0: 7.0.202 -> 7.0.203
2023-04-12 10:54:32 +02:00
Vladimír Čunát
ac3acd956f
cc-wrapper: add optional temporary hack for -B
This fixes parts in llvmPackages_{13,rocm}
e.g. build .clang for testing.
Longterm mass-rebuild fix should come in PR #225846
2023-04-12 09:37:24 +02:00
Jamie Magee
cc37d2b931
dotnet-sdk_8: 8.0.100-preview.2.23157.25 -> 8.0.100-preview.3.23178.7 2023-04-11 20:05:39 -07:00
Jamie Magee
6dbaba45ac
dotnet-sdk_7.0: 7.0.202 -> 7.0.203 2023-04-11 20:01:59 -07:00
Jamie Magee
031c6621fb
dotnet-sdk_6.0 6.0.407 -> 6.0.408 2023-04-11 19:59:34 -07:00
github-actions[bot]
47157337bf
Merge master into staging-next 2023-04-12 00:02:18 +00:00