Commit Graph

14828 Commits

Author SHA1 Message Date
Adam Joseph
758ae7d4f4 cargo-auditable: mark broken if cross 2023-04-22 12:56:30 -07:00
github-actions[bot]
a3f8dae8a6
Merge staging-next into staging 2023-04-22 18:01:32 +00:00
github-actions[bot]
c1093794b3
Merge master into staging-next 2023-04-22 18:00:58 +00:00
sternenseemann
2fe11e6fee haskell.compiler.ghc94: 9.4.4 -> 9.4.5
https://www.haskell.org/ghc/blog/20230418-ghc-9.4.5-released.html
2023-04-22 17:47:11 +02:00
github-actions[bot]
da27adef82
Merge staging-next into staging 2023-04-22 12:02:13 +00:00
github-actions[bot]
56aa87374a
Merge master into staging-next 2023-04-22 12:01:17 +00:00
Mario Rodas
3e042b788f
Merge pull request #227253 from fgaz/lobster/2023.4
lobster: 2021.3 -> 2023.4
2023-04-22 06:51:32 -05:00
Adam Joseph
67bf779b68 sdcc: enableParallelBuilding = true
This is quite a large compile; we should use more than one core to do it.
2023-04-21 13:52:22 -07:00
github-actions[bot]
1f0a791ab1
Merge staging-next into staging 2023-04-21 18:01:57 +00:00
github-actions[bot]
ca0f3efdbe
Merge master into staging-next 2023-04-21 18:01:26 +00:00
Weijia Wang
11331df40a
Merge pull request #227320 from geopjr-forks/update/crystal
crystal_1_8: 1.8.0 -> 1.8.1
2023-04-21 16:54:56 +03:00
github-actions[bot]
04bdd4bbaf
Merge staging-next into staging 2023-04-21 06:01:51 +00:00
github-actions[bot]
2994ad0fdd
Merge master into staging-next 2023-04-21 06:01:08 +00:00
Troels Henriksen
96ef490147
Update pkgs/development/compilers/flix/default.nix
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2023-04-21 06:50:41 +02:00
Troels Henriksen
60eb9a470f
Update pkgs/development/compilers/flix/default.nix
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2023-04-21 06:50:32 +02:00
Anderson Torres
072e17f8f2 harec: change self to finalAttrs 2023-04-20 22:22:23 -03:00
Anderson Torres
4961a108af hare: change self to finalAttrs 2023-04-20 22:22:23 -03:00
github-actions[bot]
654835445d
Merge staging-next into staging 2023-04-21 00:03:05 +00:00
github-actions[bot]
7fea76bc9d
Merge master into staging-next 2023-04-21 00:02:18 +00:00
Weijia Wang
e0e1cd34c0
Merge pull request #227001 from r-ryantm/auto-update/halide
halide: 15.0.0 -> 15.0.1
2023-04-20 23:14:04 +03:00
Weijia Wang
b07c210420
Merge pull request #226818 from r-ryantm/auto-update/inform6
inform6: 6.41-r3 -> 6.41-r4
2023-04-20 22:48:00 +03:00
Evangelos Paterakis
5ef2a2bfc9
crystal_1_8: 1.8.0 -> 1.8.1 2023-04-20 22:18:09 +03:00
github-actions[bot]
13f60587d0
Merge staging-next into staging 2023-04-20 18:01:39 +00:00
github-actions[bot]
e4b6ca8521
Merge master into staging-next 2023-04-20 18:01:06 +00:00
Francesco Gazzetta
00ebde2597 lobster: 2021.3 -> 2023.4 2023-04-20 14:25:10 +02:00
R. Ryantm
cf742a8b4d gleam: 0.28.2 -> 0.28.3 2023-04-20 08:18:58 -04:00
github-actions[bot]
3fb2e4810a
Merge staging-next into staging 2023-04-20 00:02:45 +00:00
github-actions[bot]
e3d1e50acd
Merge master into staging-next 2023-04-20 00:02:04 +00:00
Ryan Lahfa
df7e6764f2
Merge pull request #222903 from rrbutani/fix/llvm-git-openmp-cross
llvmPackages_git.openmp: apply #197674 (fix cross compile)
2023-04-20 00:45:07 +02:00
Ryan Lahfa
01a6895df7
Merge pull request #222902 from rrbutani/fix/llvm-git-disable-libpfm
llvmPackages_git: apply #205355 (disable libpfm on non-Linux)
2023-04-20 00:44:32 +02:00
Ryan Lahfa
89e48962e3
Merge pull request #223255 from NixOS/llvmPackages_git.libcxx-tests
llvmPackages_git.libcxx: LLVM15 changes and libcxxrt on FreeBSD
2023-04-20 00:43:28 +02:00
github-actions[bot]
81f3a4cfa0
Merge staging-next into staging 2023-04-19 12:01:53 +00:00
github-actions[bot]
a1cb3e7310
Merge master into staging-next 2023-04-19 12:01:15 +00:00
Troels Henriksen
7425cd06fc flix: init at 0.35.0 2023-04-19 11:43:39 +02:00
Weijia Wang
efa78c18f0
Merge pull request #226932 from wegank/crystal-pcre
crystal: migrate to pcre2 on 1.8
2023-04-19 09:09:51 +03:00
R. Ryantm
aa89c77b8a halide: 15.0.0 -> 15.0.1 2023-04-19 06:02:07 +00:00
github-actions[bot]
4b2a9603ea
Merge staging-next into staging 2023-04-19 06:01:47 +00:00
github-actions[bot]
f5d4a4e3d6
Merge master into staging-next 2023-04-19 06:01:15 +00:00
Elias Naur
32ef6c3629 go: only include Darwin target dependencies when targeting Darwin
Fixes

```
$ nix build .#pkgsCross.raspberryPi.buildPackages.go
```
2023-04-19 14:44:39 +10:00
Adam Joseph
2e77eb8190 clang_15: fix build!=(host==target) cross compilation
clang_15 appears to not cross compile in the build!=(host==target)
case due to two problems, which this commit fixes:

- It trips -Wmaybe-uninitialized on recent gcc, but only in the
  build!=host case (likely due to #ifdefs)

- Two more buildPlatform tools have been added:
  clang-tidy-confusable-chars-gen and clang-pseudo-gen

Co-authored-by: Rahul Butani <rrbutani@users.noreply.github.com>
2023-04-19 01:06:08 +00:00
github-actions[bot]
93e4495c3e
Merge master into staging-next 2023-04-19 00:01:56 +00:00
Weijia Wang
995ace105b crystal: migrate to pcre2 on 1.8 2023-04-19 01:34:56 +03: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
R. Ryantm
05944bc75a inform6: 6.41-r3 -> 6.41-r4 2023-04-18 08:31:34 +00: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
Val Lorentz
9faa070404 mrustc-bootstrap: Document workarounds 2023-04-16 21:59:34 +02:00
Val Lorentz
70455de76d mrustc-bootstrap: Recompile minicargo 2023-04-16 21:43:29 +02:00
Val Lorentz
dab72ecb03 mrustc: Remove obsolete patches 2023-04-16 21:43:10 +02:00
github-actions[bot]
2280dc4e1f
Merge staging-next into staging 2023-04-16 18:01:43 +00:00
hacker1024
0495725a1f flutter.buildFlutterApplication: Introduce a package override repository
Some Flutter packages require additional attribute values to be added to buildFlutterApplication, to add things like libraries and environment variables.

To prevent duplication in applications that use the packages, a repository of package overrides is kept. buildFlutterApplication will look for package overrides for each dependency, and apply them by calling overrideAttrs on itself.
2023-04-17 03:21:01 +10: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
hacker1024
17cb291df1 flutter: Allow adding extra dependencies to the wrapper
Flutter application derivations can add dependencies and build flags, but it's not as easy during development.

As an alternative to nix-shell, a custom Flutter wrapper can be built with dependencies required by projects.

This feature builds on the existing build environment setup techniques required for Linux desktop support, so is fairly cheap to maintain.
2023-04-16 21:20:25 +10: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
hacker1024
607a57d48e flutter.mkFlutterApp: Rename to flutter.buildFlutterApplication
This fits more appropriately with other build derivations like buildPythonApplication.
2023-04-15 20:57:21 +10:00
hacker1024
b187edb802 flutter: Pass through the version attribute in the wrapper 2023-04-15 19:25:01 +10: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
hacker1024
62e50080f3 flutter: Download engine artifacts individually
This brings the following benefits:
- Artifacts missing in the SDK tarball (such as prebuilts for linux-aarch64) can be obtained
- Artifacts can be patched more granularly (e.g. libflutter_linux_gtk is patchelf-ed for GTK3, and the linux-aarch64 assets have a postPatch to add some missing files)
- Minimal Flutter packages can be generated (e.g. mkFlutterApp only needs prebuilts for desktop Linux, and developers that don't care for desktop Linux can exclude the artifacts and dependencies)

It also paves the way for including manually built engine facts.
2023-04-15 02:09:28 +10: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
hacker1024
c3797393b7 flutter: Use fetchzip instead of fetchurl for source downloads
This allows for speedier re-use of the source archives, and lets files inside be read in Nix.
2023-04-15 01:52:30 +10: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
hacker1024
b16e344fae flutter: Remove --no-version-check from the immutable wrapper
This is not technically needed anyway, as the feature is removed in disable-auto-update.patch.

Prepending this argument causes issues:
- https://github.com/kevmoo/completion.dart/issues/33
- https://github.com/flutter/flutter/issues/124793
2023-04-14 15:11:31 +10:00
hacker1024
1b2cac51b2 flutter: Use existing libdeflate derivation 2023-04-14 14:21:38 +10: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