Commit graph

15640 commits

Author SHA1 Message Date
Adam Joseph a35e1694a8 gcc: if isM68k, look for libgcc_s.so.2 (instead of .so.1)
Closes #243613
2023-07-01 16:45:44 -07:00
Adam Joseph 96a2f1b4e1 gcc: kludge to prevent mass-rebuild
This commit is reverted in #240596 (which must go to staging).
2023-07-01 13:12:41 -07:00
Adam Joseph 63305d00d3 gcc: withoutTargetLibc: build libgcc_s.so
We want a `libgcc_s.so` to be built by the first stage
cross-compiler (withoutTargetLibc), since that is the compiler which
will compile the target libc.

This commit accomplishes that, by making three changes:

1. Replacing the `targetPlatform.libc == "msvcrt" &&` conditional
   with `enableShared`, so that the code which cross-build
   `libgcc_s.so` is used for all cross compilers capable of emitting
   shared libraries.

2. Removing the `targetPlatform == hostPlatform` guard from the code
   which produces the `libgcc` output.

3. Looking for build products in in "lib/${targetPlatform.config}/"
   rather than "lib/", so we will find them when cross compiling.
2023-07-01 13:12:41 -07:00
Adam Joseph 443dfc4b05 gcc: s_crossStageStatic_withoutTargetLibc_
This commit renames the `crossStageStatic` argument to the `gcc`
expression to `withoutTargetLibc`.  See previous commit for details.
2023-07-01 13:12:41 -07:00
Adam Joseph 2affd455a4 gccCrossStageStatic: enable dynamic libraries, rename to gccWithoutTargetLibc
This commit allows `gccCrossStageStatic` to build dynamically-linked
libraries.  Since is no longer restricted to building static
libraries its name is no longer appropriate, and this commit also
renames it to the more-accurate `gccWithoutTargetLibc`.

By default, you can't build a gcc that knows how to create dynamic
libraries unless you have already built the targetPlatform libc.

Because of this, our gcc cross-compiler is built in two stages:

  1. Build a cross-compiler (gccCrossStageStatic) that can build
     only static libraries.

  2. Use gccCrossStageStatic to compile the targetPlatform libc.

  3. Use the targetPlatform libc to build a fully-capable cross
     compiler.

You might notice that this pattern looks very similar to what we do
with `xgcc` in the stdenv bootstrap.  Indeed it is!  I would like to
work towards getting the existing stdenv bootstrap to handle cross
compilers as well.  However we don't want to cripple `stdenv.xgcc`
by taking away its ability to build dynamic libraries.

It turns out that the only thing gcc needs the targetPlatform libc
for is to emit a DT_NEEDED for `-lc` into `libgcc.so`.  That's it!
And since we don't use `gccCrossStageStatic` to build anything other
than libc, it's safe to omit the `DT_NEEDED` because that `libgcc`
will never be loaded by anything other than `libc`.  So `libc` will
already be in the process's address space.

Other people have noticed this; crosstool-ng has been using this
approach for a very long time:

  36ad0b17a7/scripts/build/cc/gcc.sh (L638-L640)
2023-07-01 13:12:40 -07:00
Adam Joseph e41f217257 gcc: use hasSharedLibraries instead of isStatic 2023-07-01 13:12:22 -07:00
Marcus Ramberg 755b664031 nim: 1.6.12 -> 1.6.14 2023-07-01 21:31:28 +02:00
R. Ryantm ac8f90bee6 sagittarius-scheme: 0.9.9 -> 0.9.10 2023-07-01 17:29:24 +00:00
github-actions[bot] ed3d23eef3
Merge staging-next into staging 2023-07-01 00:03:25 +00:00
R. Ryantm 36164b3e12 cairo-lang: 1.1.0 -> 1.1.1 2023-06-30 22:53:13 +00:00
FlafyDev 570f3efd1d flutter: Separate cache and unwrapped derivations
flutter-unwrapped will now not come with engine artifacts in its cache directory(`$out/bin/cache`).

To specify a different cache directory, set FLUTTER_CACHE_DIR.

Flutter's wrapper now sets FLUTTER_CACHE_DIR to set engine artifacts.

The sh file `$out/bin/internal/shared.sh` runs when launching Flutter and calls `"$FLUTTER_ROOT/bin/cache/` instead of our environment variable `FLUTTER_CACHE_DIR`.
I decided not to patch it since the script doesn't require engine artifacts(which are the only thing not added by the unwrapped derivation), so it shouldn't fail, and patching it will just be harder to maintain.
2023-06-30 15:23:34 +03:00
Adam Joseph c04c1a1777 Revert "gcc: kludge to prevent mass-rebuild"
This reverts commit 8dce1f7383b064ae5adee7702a8eeed06346dd24.
2023-06-30 02:28:13 -07:00
Adam Joseph 91ef45c98a gcc: disable glibc<->libgcc circularity workaround for windows and LLVM
This essentially reverts #238154 if `isWindows` or `useLLVM`, the
two cases where it caused breakage:

  https://github.com/NixOS/nixpkgs/pull/238154#issuecomment-1633752094

Since #238154 exists mainly for `isGNU` (i.e. due to the
glibc<->libgcc circular dependency) disabling it here isn't a big deal.
2023-06-30 01:39:58 -07:00
github-actions[bot] c3cfd4a6c8
Merge staging-next into staging 2023-06-30 06:01:55 +00:00
Ben Darwin 3c614fbc76 teyjus: unstable-2019-07-26 -> 2.1.1 2023-06-30 06:44:22 +02:00
Ben Siraphob 37cf5ce1cc
Merge pull request #239412 from siraben/swiProlog-update 2023-06-30 08:23:48 +07:00
github-actions[bot] f6242f9557
Merge staging-next into staging 2023-06-30 00:03:00 +00:00
Adam Joseph b1434f14da
Merge pull request #240247 from amjoseph-nixpkgs/libgcc-deduplicate
gcc: deduplicate boilerplate
2023-06-29 22:26:25 +00:00
github-actions[bot] 958ca2b0c0
Merge staging-next into staging 2023-06-29 12:01:52 +00:00
7c6f434c 13ab4547dc
Merge pull request #240384 from hraban/sbcl/2.3.6
sbcl: 2.3.5 -> 2.3.6
2023-06-29 07:58:40 +00:00
github-actions[bot] d283b7f373
Merge staging-next into staging 2023-06-29 00:03:18 +00:00
Sandro 198bd0a4a7
Merge pull request #239622 from corngood/dotnet-misc
dotnet: misc fixes
2023-06-28 23:41:18 +02:00
Will Cohen d38e097449
emscripten: 3.1.41 -> 3.1.42 (#240227) 2023-06-28 21:40:17 +02:00
github-actions[bot] c5b82a046f
Merge staging-next into staging 2023-06-28 18:01:51 +00:00
Hraban Luyat 4ce75cd861 sbcl: 2.3.5 -> 2.3.6 2023-06-28 13:27:23 -04:00
maralorn 26b42078cf
Merge branch 'master' into haskell-updates 2023-06-28 19:07:41 +02:00
github-actions[bot] 291da905ac
Merge staging-next into staging 2023-06-28 12:02:09 +00:00
Mario Rodas 8f342bfa95 ocamlPackages.menhirLib: 20220210 -> 20230608
Diff: 20220210...20230608
2023-06-28 11:42:19 +02:00
Nick Cao a482179574
Merge pull request #240259 from marsam/update-typescript
typescript: 5.1.3 -> 5.1.5
2023-06-28 16:49:50 +08:00
Emery Hemingway eafc69b131 nim: extra module mangling to prevent runtime dependence
Fix #207795
2023-06-28 09:45:16 +01:00
Mario Rodas 9b9bcdbc5e
Merge pull request #239731 from r-ryantm/auto-update/orc
orc: 0.4.33 -> 0.4.34
2023-06-28 00:31:01 -05:00
Mario Rodas 0be4a352ef typescript: 5.1.3 -> 5.1.5
Diff: https://github.com/microsoft/TypeScript/compare/v5.1.3...v5.1.5

Changelog: https://github.com/microsoft/TypeScript/releases/tag/v5.1.5
2023-06-28 04:20:00 +00:00
Adam Joseph 0344bcbcf4 gcc: deduplicate boilerplate
This commit deduplicates libgcc-related boilerplate which appears in
every version of our gcc expression, by moving it into libgcc.nix.

I will be submitting a separate PR which changes this boilerplate,
but that PR will be much easier to review if I can make the change
in just one place.

Meanwhile, *this* commit has no effect on eval:

$ for A in 10  11  12  13  4.8  4.9  6  7  8  9; do nix-instantiate . -A gcc$(echo $A | tr -d .); done 2>/dev/null | sort | tee before
/nix/store/1a37lnzpnz0dhm3lphiy2gcdrxgqa7ma-gcc-wrapper-4.8.5.drv
/nix/store/5szdivc8il0c3g94dq4wqnq5j77a9h6p-gcc-wrapper-11.4.0.drv
/nix/store/bmmc717wmnp1j2xkd3if5dfxicnflvn5-gcc-wrapper-7.5.0.drv
/nix/store/fc1ggpixv3wqcazchhl2hnn5zl5ds30l-gcc-wrapper-13.1.0.drv
/nix/store/j9c2b20w35r3ag5nxmklhagbwsgjhds2-gcc-wrapper-4.9.4.drv
/nix/store/nq7q57bxmsk2g457wr4b9449as3f216w-gcc-wrapper-12.3.0.drv
/nix/store/sqmkkfapzykapcs4azvxm83n786ga7q1-gcc-wrapper-10.4.0.drv
/nix/store/vxnz30i23mkl4ldsq485kxn7q0p2y4nf-gcc-wrapper-8.5.0.drv
/nix/store/yfhv0bv15cg5kj2xsb9fcgb6pdlw42v0-gcc-wrapper-6.5.0.drv
/nix/store/yi5gr75pb6kddnll10jg25hhndhkba7s-gcc-wrapper-9.5.0.drv

$ for A in 10  11  12  13  4.8  4.9  6  7  8  9; do nix-instantiate . -A gcc$(echo $A | tr -d .); done | sort | tee after
/nix/store/1a37lnzpnz0dhm3lphiy2gcdrxgqa7ma-gcc-wrapper-4.8.5.drv
/nix/store/5szdivc8il0c3g94dq4wqnq5j77a9h6p-gcc-wrapper-11.4.0.drv
/nix/store/bmmc717wmnp1j2xkd3if5dfxicnflvn5-gcc-wrapper-7.5.0.drv
/nix/store/fc1ggpixv3wqcazchhl2hnn5zl5ds30l-gcc-wrapper-13.1.0.drv
/nix/store/j9c2b20w35r3ag5nxmklhagbwsgjhds2-gcc-wrapper-4.9.4.drv
/nix/store/nq7q57bxmsk2g457wr4b9449as3f216w-gcc-wrapper-12.3.0.drv
/nix/store/sqmkkfapzykapcs4azvxm83n786ga7q1-gcc-wrapper-10.4.0.drv
/nix/store/vxnz30i23mkl4ldsq485kxn7q0p2y4nf-gcc-wrapper-8.5.0.drv
/nix/store/yfhv0bv15cg5kj2xsb9fcgb6pdlw42v0-gcc-wrapper-6.5.0.drv
/nix/store/yi5gr75pb6kddnll10jg25hhndhkba7s-gcc-wrapper-9.5.0.drv

$ diff -u after before
$
2023-06-27 19:21:49 -07:00
github-actions[bot] 0aaf2b2ebc
Merge master into haskell-updates 2023-06-28 00:14:55 +00:00
Janik 04294b836c
Merge pull request #238129 from alexfmpe/ispc-darwin 2023-06-27 16:50:21 +02:00
Sandro 0eaf5f3376
Merge pull request #202665 from Astavie/master
odin: 0.13.0 -> dev-2023-05
2023-06-27 12:04:33 +02:00
Domen Kožar 883ea1e0ba
Merge pull request #238917 from twesterhout/halide-mesa-darwin
halide: remove mesa dependency on darwin
2023-06-27 10:41:11 +01:00
Janik a4d488a008
Merge pull request #233330 from marsam/update-fmt 2023-06-27 10:26:13 +02:00
github-actions[bot] 71ce0a3ffb
Merge master into haskell-updates 2023-06-27 00:15:19 +00:00
Janik e5d095517a
Merge pull request #238303 from BenediktBroich/blueprint-compiler 2023-06-27 00:38:09 +02:00
maralorn 0e87c159c8
Merge branch 'master' into haskell-updates 2023-06-26 22:57:50 +02:00
Vladimír Čunát 90de72aacb
Merge #239304: staging-next 2023-06-23 2023-06-26 21:14:42 +02:00
Mario Rodas 0bc4547952
typescript: repackage using buildNpmPackage (#239189) 2023-06-26 20:36:12 +02:00
github-actions[bot] 4e9dcbbbc6
Merge master into staging-next 2023-06-26 18:01:29 +00:00
Ulrik Strid 466af5066e ligo: Fix hash after tag mutation 2023-06-26 13:58:05 +02:00
Mario Rodas c368a898f8 orc: add changelog to meta 2023-06-26 04:20:00 +00:00
Benedikt Broich 74d8cf6138
blueprint-compiler: 0.6.0 -> 0.8.1 2023-06-25 21:43:35 +02:00
github-actions[bot] 2c439c14b6
Merge master into staging-next 2023-06-25 18:01:21 +00:00
figsoda 7b2cb46c77
Merge pull request #239737 from alyssais/rustc-loongarch64 2023-06-25 10:24:08 -04:00
Felix Buehler 6672dde558 treewide: use optionalAttrs instead of 'else {}' 2023-06-25 11:01:34 -03:00
Alyssa Ross f2e0e190f5
rustc: mark supported on loongarch64
loongarch64 is tier 2 with host tools.
2023-06-25 13:23:47 +00:00
R. Ryantm 59a02631bf orc: 0.4.33 -> 0.4.34 2023-06-25 12:43:30 +00:00
Nick Cao 1ae6063e84
Merge pull request #239426 from mdarocha/dotnet-update
dotnet-sdk: 6.0.410 -> 6.0.411, dotnet-sdk_7: 7.0.304 -> 7.0.305
2023-06-25 20:36:07 +08:00
github-actions[bot] 6cd94a8935
Merge master into haskell-updates 2023-06-25 00:16:24 +00:00
David McFarland 7af46fb047 roslyn: remove extended-deps.nix
fetch-deps is able to find the Arcade SDK now.
2023-06-24 19:13:16 -03:00
David McFarland 9c16cea2bb buildDotnetModule: allow lockFile path to be set in nugetDeps
This allows fetch-deps to find the lock-file for roslyn.
2023-06-24 17:17:41 -03:00
Felix Buehler f3719756b5 treewide: use optionalString instead of 'then ""' 2023-06-24 20:19:19 +02:00
github-actions[bot] b633dddac4
Merge master into staging-next 2023-06-24 18:01:04 +00:00
Felix Bühler 2a565280ce
Merge pull request #239219 from figsoda/erg
erg: 0.6.14 -> 0.6.15
2023-06-24 17:08:39 +02:00
github-actions[bot] 9af472e5c9
Merge master into staging-next 2023-06-24 12:01:09 +00:00
Connor Baker 6715107287
Merge pull request #238341 from Dessix/dev/dessix/fix-cuda-12.1-build
cudaPackages_12_1.cudatoolkit: Fix build failure over missing QT dependencies
2023-06-24 03:18:24 -04:00
github-actions[bot] 63593ca89e
Merge master into haskell-updates 2023-06-24 00:15:05 +00:00
github-actions[bot] eda8cc3756
Merge master into staging-next 2023-06-24 00:02:43 +00:00
Artturi d9a2741d79
Merge pull request #238597 from avnik/avnik/clang-fix-crosscompilation 2023-06-23 21:59:29 +03:00
mdarocha bc97bc20c3 dotnet-sdk_7: 7.0.304 -> 7.0.305 2023-06-23 19:20:25 +02:00
mdarocha 2d48715421 dotnet-sdk: 6.0.410 -> 6.0.411 2023-06-23 19:20:16 +02:00
Ben Siraphob 93ba4194ba
swiProlog: 8.3.29 -> 9.1.10 2023-06-23 23:41:59 +07:00
Alexander V. Nikolaev cef1efea15
clang: fix crosscompilation for 16.x 2023-06-23 13:38:12 +03:00
K900 ca6fdc2c4c glslang: 12.1.0 -> 12.2.0
Diff: https://github.com/KhronosGroup/glslang/compare/12.1.0...12.2.0

Also drop now-unnecessary workarounds.
2023-06-23 12:59:36 +03:00
github-actions[bot] ed07d46b65
Merge staging-next into staging 2023-06-23 06:01:59 +00:00
Nick Cao 86a9533155
Merge pull request #239270 from wahjava/update-abcl
abcl: enable for darwin
2023-06-23 10:59:55 +08:00
Nick Cao dd1755d3bf
Merge pull request #239265 from figsoda/flags
opensmalltalk-vm: convert buildFlags to a list
2023-06-23 10:51:41 +08:00
Ashish SHUKLA e508802456
abcl: enable for darwin 2023-06-23 02:47:27 +02:00
github-actions[bot] 3b00d0c96f
Merge master into haskell-updates 2023-06-23 00:16:37 +00:00
github-actions[bot] 22e89a1418
Merge staging-next into staging 2023-06-23 00:03:31 +00:00
figsoda 6990430cf6 opensmalltalk-vm: convert buildFlags to a list 2023-06-22 19:34:59 -04:00
figsoda 035bbb7f96 djgpp: move makeWrapper to nativeBuildInputs 2023-06-22 19:28:03 -04:00
Sandro 67f4868a43
Merge pull request #233422 from mdarocha/crossgen-fix
buildDotnetModule: support ReadyToRun and native binaries inside nuget files
2023-06-22 22:26:53 +02:00
Ryan Lahfa b81d4f064e
Merge pull request #235624 from willcohen/emscripten-wasm2c 2023-06-22 17:49:31 +02:00
figsoda 8519c96d85 erg: 0.6.14 -> 0.6.15
Diff: https://github.com/erg-lang/erg/compare/v0.6.14...v0.6.15

Changelog: https://github.com/erg-lang/erg/releases/tag/v0.6.15
2023-06-22 11:33:40 -04:00
github-actions[bot] fc5ef80184
Merge staging-next into staging 2023-06-22 12:02:08 +00:00
7c6f434c 920a33346a
Merge pull request #239075 from wahjava/update-abcl
abcl: 1.9.1 -> 1.9.2
2023-06-22 11:34:10 +00:00
Weijia Wang ecbf681452
Merge pull request #231101 from samwightt/update/crystal
crystal_1_8: 1.8.1 -> 1.8.2
2023-06-22 09:56:27 +03:00
Alyssa Ross 0f2191f3b2
Merge remote-tracking branch 'origin/staging-next' into staging
Conflicts:
	pkgs/development/compilers/gcc/11/default.nix
2023-06-22 06:23:16 +00:00
figsoda b4f444df87
Merge pull request #239073 from r-ryantm/auto-update/erg
erg: 0.6.13 -> 0.6.14
2023-06-21 21:42:32 -04:00
Ashish SHUKLA 297701d497
abcl: 1.9.1 -> 1.9.2
See https://abcl-dev.blogspot.com/2023/06/a-midsummers-eve-with-abcl-192.html
2023-06-22 02:53:10 +02:00
R. Ryantm 51b3c41c93 erg: 0.6.13 -> 0.6.14 2023-06-22 00:40:38 +00:00
github-actions[bot] 0312d8f750
Merge master into haskell-updates 2023-06-22 00:13:26 +00:00
mdarocha 521649a9e4 dotnet-sdk: include Crossgen2 packages in sdk-specific nuget source 2023-06-21 17:06:31 +02:00
Vladimír Čunát ac8741e0ea
Merge #235728: gcc11: 11.3.0 -> 11.4.0 2023-06-21 16:41:58 +02:00
github-actions[bot] c562a088e4
Merge staging-next into staging 2023-06-21 12:02:27 +00:00
Arnout Engelen e5b18e6ca9
Merge pull request #237874 from timothyklim/scala-latest
scala_3: 3.2.2 -> 3.3.0, scala_2_13: 2.13.10 -> 2.13.11, scala_2_12: 2.12.15 -> 2.12.18
2023-06-21 12:14:50 +02:00
twesterhout d474fb31b6 halide: remove mesa dependency on darwin 2023-06-21 11:37:31 +02:00
Laurent CaniBot d1e05a02a9 ligo: 0.67.1 -> 0.68.0 2023-06-21 07:24:58 +00:00
github-actions[bot] 260df62919
Merge master into haskell-updates 2023-06-21 00:13:19 +00:00
github-actions[bot] 74d0f1c452
Merge staging-next into staging 2023-06-21 00:03:02 +00:00
Dessix 2ef48c49a5 cudaPackages_12_1.cudatoolkit: fix missing build dependencies
Dependencies on gstreamer and curl were added starting in cudatoolkit 12.1; this compensates for the resulting autoPatchelf failures.
2023-06-20 13:40:07 -07:00
github-actions[bot] 8b9041779d
Merge staging-next into staging 2023-06-20 18:01:51 +00:00
Weijia Wang ea942af732 crystal: cleanup 2023-06-20 18:56:30 +03:00
Artturi 289d9cf8a7
Merge pull request #230387 from Artturin/llvmsplit1 2023-06-20 16:43:41 +03:00
Artturi 2fd2dc90b0
Merge pull request #237241 from alyssais/dtc-cross 2023-06-20 16:32:39 +03:00
Ulrik Strid 83fe300f2b
Merge pull request #236659 from ligolang/ligo--0_67_1
ligo: 0.66.0 -> 0.67.1
2023-06-20 14:03:59 +02:00
Alyssa Ross b949778bed
dtc: fix cross
Now takes into account that stdenv always disables tests when cross
compiling.

Link: https://github.com/dgibson/dtc/pull/103#pullrequestreview-1473442177
Fixes: 219b397071 ("dtc: avoid building tests in case doCheck is disabled")
2023-06-20 09:13:38 +00:00
Laurent CaniBot 5ba6eab7c2 ligo: 0.66.0 -> 0.67.1 2023-06-20 09:22:46 +02:00
Sergei Trofimovich cc5c495706
Merge pull request #234957 from trofi/llvm-gcc-13-fix
llvm_{10..13}: backport gcc-13 fixes
2023-06-20 08:02:00 +01:00
github-actions[bot] d74400e7e7
Merge staging-next into staging 2023-06-20 06:02:16 +00:00
Weijia Wang 8334e299f0
Merge pull request #238552 from fgaz/lobster/2023.9
lobster: 2023.6 -> 2023.9
2023-06-20 03:14:53 +03:00
github-actions[bot] 2ce25278ff
Merge master into haskell-updates 2023-06-20 00:12:26 +00:00
github-actions[bot] f5c7dd3f32
Merge staging-next into staging 2023-06-20 00:02:58 +00:00
Weijia Wang 397a3ef26f
Merge pull request #238528 from r-ryantm/auto-update/dart
dart: 3.0.4 -> 3.0.5
2023-06-20 02:43:28 +03:00
maralorn 0f1be08db8
Merge branch 'master' into haskell-updates 2023-06-19 23:22:52 +02:00
github-actions[bot] 535ef0a591
Merge staging-next into staging 2023-06-19 18:02:35 +00:00
06kellyjac ac33ccf779 mono: add licensing details 2023-06-19 13:30:09 +01:00
Francesco Gazzetta 2d2c35a023 lobster: 2023.6 -> 2023.9
Diff: https://github.com/aardappel/lobster/compare/v2023.6...v2023.9
2023-06-19 12:04:13 +02:00
R. Ryantm 5a2449f596 dart: 3.0.4 -> 3.0.5 2023-06-19 06:30:38 +00:00
Janne Heß 61e5bba2b7
gcc11: 11.3.0 -> 11.4.0 2023-06-19 07:48:37 +02:00
Will Cohen 0761348e91 emscripten: 3.1.24 -> 3.1.41 2023-06-18 19:35:46 -04:00
Will Cohen 1850284e03 binaryen: 112 -> 113 2023-06-18 19:35:46 -04:00
Will Cohen 251c55700d llvmPackages_16: 16.0.1 -> 16.0.6 2023-06-18 19:35:45 -04:00
github-actions[bot] a7324a2bde
Merge staging-next into staging 2023-06-18 18:01:48 +00:00
Daniel Nagy 98479f2656
gforth: 0.7.9_20220127 -> 0.7.9_20230518
Diff: https://github.com/forthy42/gforth/compare/0.7.9_20220127...0.7.9_20230518
2023-06-18 19:15:00 +02:00
github-actions[bot] 91c29d2e91
Merge staging-next into staging 2023-06-18 00:03:09 +00:00
figsoda 8957f30b86 bfc: 1.10.0 -> 1.11.0
Diff: https://github.com/Wilfred/bfc/compare/1.10.0...1.11.0
2023-06-17 12:59:24 -04:00
github-actions[bot] 31ad33733f
Merge staging-next into staging 2023-06-17 06:01:45 +00:00
Vladimír Čunát 41d7e84dd8
Merge branch 'master' into staging-next
Trivial conflict:
 	nixos/doc/manual/release-notes/rl-2311.section.md
2023-06-17 07:46:50 +02:00
Mario Rodas 8fe6cc3541 mruby: add marsam to maintainers 2023-06-17 04:20:00 +00:00
Mario Rodas 42bbff5424 mruby: refactor
- Remove bison from nativeBuildInputs, since it's only required to build
  parse.y

- Move ruby to nativeCheckInputs
2023-06-17 04:20:00 +00:00
Hugh O'Brien f82da3ad57 djgpp: init at 12.2.0 2023-06-16 20:09:05 +00:00
Sandro ffecf1b108
Merge pull request #237667 from LibreCybernetics/update-jdk
[staging] {AdoptOpenJDK, OpenJDK, JetBrainsRuntime}: updates
2023-06-16 20:47:14 +02:00
Alexandre Esteves cfe665eb26 ispc: fix darwin 2023-06-16 19:00:55 +01:00
Astavie 38e5815422 odin: 0.13.0 -> dev-2023-05 2023-06-16 16:17:17 +02:00
Weijia Wang e8d09fc809 opensmalltalk-vm: fix eval 2023-06-16 16:19:06 +03:00
Theodore Ni 395e5d76a7 opensmalltalk-vm: fix evaluation on darwin 2023-06-16 13:52:06 +01:00
github-actions[bot] f76683b6c6
Merge staging-next into staging 2023-06-16 12:01:42 +00:00
github-actions[bot] ebaef3ce4c
Merge master into staging-next 2023-06-16 12:01:08 +00:00
Sandro d403dd77ce
Merge pull request #226125 from paveloom/codon 2023-06-16 11:42:41 +02:00
Weijia Wang 60ac106c34
Merge pull request #237977 from nagy/chicken
chickenPackages: update
2023-06-16 09:52:35 +03:00
github-actions[bot] c30d35ea7c
Merge staging-next into staging 2023-06-16 06:01:42 +00:00
github-actions[bot] af7beed7be
Merge master into staging-next 2023-06-16 06:01:09 +00:00
Vincent Laporte 01d3f6f7a8 jasmin-compiler: 2022.09.3 → 2023.06.0 2023-06-16 07:00:14 +02:00
figsoda 1cabbd4eec
Merge pull request #237984 from lopsided98/rustc-armv6l 2023-06-15 21:54:03 -04:00
Nick Cao 67d3fc230c
Merge pull request #237927 from figsoda/bfc
bfc: unstable-2023-02-02 -> 1.10.0
2023-06-15 19:39:04 -06:00
github-actions[bot] efc10371d5
Merge master into haskell-updates 2023-06-16 00:13:24 +00:00
github-actions[bot] ddfda1497e
Merge staging-next into staging 2023-06-16 00:02:58 +00:00
github-actions[bot] 839c033ffb
Merge master into staging-next 2023-06-16 00:02:18 +00:00
Jake Waksbaum 5d486408b5
opensmalltalk-vm: init at 202206021410 (#215158)
* opensmalltalk-vm: init at 202206021410

* add x86-64 vms

* Add meta

* Use src.url

* Hardcode commit hash

* Inline everything

* Set scriptname and mainProgram

* Add comment about checkSCCSversion

* Hardcode date

* Hardcode hash

* Use attrset instead of if-else

* Remove arch-specific environment variables

* Remove -msse2 flag

* Rename squeak.cog.spur -> sqeak-cog-spur
2023-06-15 23:48:42 +02:00
Ben Wolsieffer 87ebad10d6 rustc: add armv6l-linux to platforms
armv6l-linux was incorrectly added to the list of platforms without host
tools in #227987. arm-unknown-linux-gnueabihf is present in the list of
Tier 2 targets with host tools, and this target corresponds to our
armv6l-linux platform.
2023-06-15 16:56:55 -04:00
Daniel Nagy 8ea7486191
chickenPackages: update 2023-06-15 22:30:00 +02:00
github-actions[bot] f9f270ffd1
Merge staging-next into staging 2023-06-15 18:01:38 +00:00
github-actions[bot] 600034b460
Merge master into staging-next 2023-06-15 18:01:04 +00:00
Weijia Wang 820430b05d
Merge pull request #236835 from r-ryantm/auto-update/p4c
p4c: 1.2.3.9 -> 1.2.4.0
2023-06-15 15:51:35 +03:00
figsoda fef834c641 bfc: unstable-2023-02-02 -> 1.10.0
Diff: 647379de6e...1.10.0
2023-06-15 08:51:32 -04:00
timothy 9bb37b4607 scala_3: 3.2.2 -> 3.3.0
scala_2_13: 2.13.10 -> 2.13.11
scala_2_12: 2.12.15 -> 2.12.18
2023-06-15 13:41:21 +07:00
github-actions[bot] 0f09cfb9c7
Merge master into haskell-updates 2023-06-15 00:13:06 +00:00
github-actions[bot] 7a92a0899d
Merge staging-next into staging 2023-06-15 00:03:01 +00:00
github-actions[bot] c2fa140937
Merge master into staging-next 2023-06-15 00:02:27 +00:00
Weijia Wang e6ea8b5856
Merge pull request #237766 from wegank/scheme2c-compatibility-fix
chickenPackages_5.chickenEggs.scheme2c-compatibility: fix build on x86_64-darwin
2023-06-15 01:03:38 +03:00
Weijia Wang 0d2cf7fe5f
Merge pull request #237798 from gilice/flutter-3105
flutter: 3.10.0 -> 3.10.5
2023-06-14 23:57:06 +03:00
Weijia Wang 09858c0a65 chickenPackages_5.chickenEggs.scheme2c-compatibility: fix build on x86_64-darwin 2023-06-14 23:19:19 +03:00
github-actions[bot] d206bcd142
Merge staging-next into staging 2023-06-14 18:02:02 +00:00
github-actions[bot] 0f19fc4c44
Merge master into staging-next 2023-06-14 18:01:25 +00:00
gilice dcf789f53e flutter: 3.10.0 -> 3.10.5 2023-06-14 19:12:50 +02:00
Sandro c3208f5c4c
Merge pull request #237602 from felschr/dotnet-updates 2023-06-14 14:44:20 +02:00
Weijia Wang fa261740df
Merge pull request #236494 from psentee/yosys-0-30
yosys: 0.29 -> 0.30
2023-06-14 15:33:25 +03:00
Fabián Heredia Montiel d106eaeb83 jetbrains.jdk: 17.0.6-b829.9 → 17.0.7-b829.16 2023-06-13 20:35:11 -06:00
Fabián Heredia Montiel b8ad87becf openjdk17: 17.0.6+10 → 17.0.7+7 2023-06-13 20:35:11 -06:00
Fabián Heredia Montiel 1997c731f1 openjdk11: 11.0.18+10 → 11.0.19+7 2023-06-13 20:35:11 -06:00
Fabián Heredia Montiel d1ebfd2c70 adoptopenjdk: 8.0.322+6 → 8.0.372+7, 11.0.16+101 → 11.0.19+7, 17.0.4+101 → 17.0.7+7 2023-06-13 20:32:48 -06:00
github-actions[bot] 55843b9385
Merge master into haskell-updates 2023-06-14 00:13:02 +00:00
Sergei Trofimovich df7727f0ed
Merge pull request #237577 from raboof/build-gcc-parallel-and-reproducible
Build gcc parallel and reproducible
2023-06-13 21:54:45 +01:00
Felix Schröter eb9eeea5d3
dotnet-sdk_8: 8.0.100-preview.4.23260.5 -> 8.0.100-preview.5.23303.2 2023-06-13 21:05:35 +02:00
github-actions[bot] f29c608f98
Merge master into staging-next 2023-06-13 18:01:32 +00:00
Felix Schröter 65d2e188f3
dotnet-sdk_7: 7.0.302 -> 7.0.304 2023-06-13 20:00:30 +02:00
Felix Schröter d27a697d50
dotnet-sdk_6: 6.0.408 -> 6.0.410 2023-06-13 20:00:29 +02:00
Weijia Wang 699d8d314d
Merge pull request #225860 from wegank/chicken-fixes
chickenPackages: various fixes
2023-06-13 19:58:50 +03:00
Arnout Engelen f6a7658c51
gcc: disable parallelism when installing
to avoid missing sections in the info pages due
the index being overwritten by parallel `install-info`
invocations
2023-06-13 17:16:23 +02:00
Arnout Engelen e8d0aa9d19
Revert "gcc: install info files serially"
Because the build still uses a pre-4.4 version of GNU Make,
this option makes the whole build serial rather than only
the installation.

See also https://gcc.gnu.org/PR109898

This reverts commit f3995cee01.
2023-06-13 17:16:20 +02:00
Weijia Wang 2120f22baf chickenPackages: various fixes 2023-06-13 17:32:50 +03:00
Rafael Fernández López 81fc11e2ed unison: use finalAttrs pattern 2023-06-13 14:31:54 +02:00
github-actions[bot] 51c0c12cd4
Merge master into staging-next 2023-06-13 12:01:28 +00:00
toastal 8201afb77f ocamlPackages.mtime: create 1.x fork for compat
Slapped mtime_1 affected ocamlPackages
2023-06-13 13:14:38 +07:00
github-actions[bot] 299918b25d
Merge master into staging-next 2023-06-13 06:01:14 +00:00
Nick Cao df55edeeb3
Merge pull request #237100 from amjoseph-nixpkgs/pr/dtc/fixcross
dtc: fix cross
2023-06-12 23:02:51 -06:00
github-actions[bot] c1e7f2924f
Merge master into haskell-updates 2023-06-13 00:13:31 +00:00
github-actions[bot] 9dc5849025
Merge master into staging-next 2023-06-13 00:02:27 +00:00
Maciej Krüger 2573b591f0
Merge pull request #237191 from gilice/dart-3 2023-06-12 23:41:25 +02:00
R. Ryantm 41559ec4a0 computecpp-unwrapped: 2.3.0 -> 2.11.0 2023-06-12 19:07:41 +00:00
Pavel Sobolev 927290d2a6
codon: 0.15.5 -> 0.16.1 2023-06-12 18:59:26 +03:00
github-actions[bot] 9a53a3f495
Merge master into haskell-updates 2023-06-12 00:14:44 +00:00
github-actions[bot] 112762351d
Merge master into staging-next 2023-06-12 00:02:19 +00:00
Weijia Wang 59ad049218
Merge pull request #236981 from r-ryantm/auto-update/ballerina
ballerina: 2201.5.0 -> 2201.6.0
2023-06-11 22:36:09 +03:00
github-actions[bot] eab5d7921a
Merge staging-next into staging 2023-06-11 18:01:59 +00:00
gilice dcb6f6e91b dart: 2.19.6 -> 3.0.4 2023-06-11 14:27:24 +02:00
github-actions[bot] 9b7c645ab3
Merge master into haskell-updates 2023-06-11 00:14:23 +00:00
Adam Joseph bb6069ec20 dtc: fix overrides: use finalAttrs, not rec
Prior to this commit, dtc was accessing its own derivation
attributes via `rec`.  This means that

```
overrideAttrs (_: { doCheck = ..; })
```

will produce inconsistent behavior, with part of the derivation
seeing the old value and part seeing the new value.

finalAttrs is the preferred way to do this.  Let's switch to that.
2023-06-10 12:44:29 -07:00
Adam Joseph 4cccbcd768 dtc: fix cross
Cross compilation of dtc was broken by the build system change in
280160bd1d.

Currently dtc's configury fails for cross builds unless you disable
the tests at configurePhase-time.  Simply not running the test
target is insufficient.
2023-06-10 12:40:40 -07:00
github-actions[bot] 9f2767ce37
Merge staging-next into staging 2023-06-10 18:01:41 +00:00
Jörg Thalheim dd12c2d719
Merge pull request #236983 from SubhrajyotiSen/update-kotlin
kotlin{-native}: 1.8.21 -> 1.8.22
2023-06-10 16:29:31 +01:00
Daniel Nagy ca2cb9f644 treewide: "libary" -> "library" 2023-06-10 14:54:08 +01:00
SubhrajyotiSen 6fd6dd6f9c kotlin{-native}: 1.8.21 -> 1.8.22 2023-06-10 11:55:27 +05:30
R. Ryantm ee91846694 ballerina: 2201.5.0 -> 2201.6.0 2023-06-10 06:20:57 +00:00
github-actions[bot] ffc7e7d777
Merge staging-next into staging 2023-06-10 06:01:49 +00:00
Rahul Butani 4232f8fdf8
zulu: set meta.sourceProvenance
the Azul Zulu tarballs/zips contain JVM bytecode (class files) and
native code (shared objects)
2023-06-09 20:03:48 -05:00
github-actions[bot] 35885ddb23
Merge master into haskell-updates 2023-06-10 00:12:39 +00:00
github-actions[bot] f85baf313e
Merge staging-next into staging 2023-06-10 00:03:09 +00:00
Tom Westerhout b6088ea2f3
Enable tests for Halide; replace llvmPackages.stdenv with stdenv (#224473)
* Enable tests for Halide; replace llvmPackages.stdenv with stdenv

* halide: disable performance_memcpy test

* halide: disable all performance tests because they are unreliable
2023-06-09 22:17:44 +02:00
R. Ryantm aa3a5b91e3 p4c: 1.2.3.9 -> 1.2.4.0 2023-06-09 12:26:21 +00:00
github-actions[bot] e062b84a95
Merge staging-next into staging 2023-06-09 06:01:52 +00:00
Nick Cao 729058d86a
Merge pull request #236649 from NickCao/julia
julia_19: 1.9.0 -> 1.9.1
2023-06-08 21:07:19 -06:00
Nick Cao 17544a363a
Merge pull request #236653 from wegank/julia-bin-bump
julia_19-bin: 1.9.0 -> 1.9.1
2023-06-08 21:03:23 -06:00
github-actions[bot] b33d17dfd9
Merge staging-next into staging 2023-06-09 00:03:07 +00:00
sternenseemann cb7ccdccd7 Merge remote-tracking branch 'origin/master' into haskell-updates 2023-06-08 20:16:04 +02:00
Rebecca Turner 17d63282b2 haskell.compiler: allow overriding source with hadrian
Hadrian (the GHC build tool) is built separately from GHC. This means
that if `haskell.compiler.ghc961` is overridden to add patches, those
patches will _only_ be applied to the GHC portion of the build, and not
the Hadrian build. For example, backporting this patch to GHC 9.6.1
failed because the changes to `hadrian/` files were not reflected in the
Nix build:

5ed77deb1b

By lifting `src` and `hadrian` from variables defined in the function
body to parameters with default values, the `hadrian/` files can be
overridden using the `haskell.compiler.ghc961.override` function. For
example:

   self.haskell.compiler.ghc961.override {
     # The GHC 9.6 builder in nixpkgs first builds hadrian with the
     # source tree provided here and then uses the built hadrian to
     # build the rest of GHC. We need to make sure our patches get
     # included in this `src`, then, rather than modifying the tree in
     # the `patchPhase` or `postPatch` of the outer builder.
     src = self.applyPatches {
       src = let
         version = "9.6.1";
       in
         self.fetchurl {
           url = "https://downloads.haskell.org/ghc/${version}/ghc-${version}-src.tar.xz";
           sha256 = "fe5ac909cb8bb087e235de97fa63aff47a8ae650efaa37a2140f4780e21f34cb";
         };

       patches = [
         # Enable response files for linker if supported
         (self.fetchpatch {
           url = "5ed77deb1b.patch";
           hash = "sha256-dvenK+EPTZJYXnyfKPdkvLp+zeUmsY9YrWpcGCzYStM=";
         })
       ];
     };
   }

Note that we do have to re-declare the `src` we want, but I'm not sure
of a good way to avoid this while also sharing one set of patches
between the GHC and Hadrian builds.
2023-06-08 20:11:52 +02:00
github-actions[bot] 52cf9e3e3b
Merge staging-next into staging 2023-06-08 18:02:03 +00:00
sternenseemann f1ad505272 haskell.compiler.ghc961: remove at 9.6.1 2023-06-08 18:18:11 +02:00
sternenseemann 271e7a9d82 haskell.compiler.ghcHEAD: 9.7.20230505 -> 9.7.20230527 2023-06-08 18:17:07 +02:00
teh 88e640fd68
jsonnet: Build with cmake (#236510)
The current build doesn't install all necessary libraries to
use jsonnet from c/c++
2023-06-08 12:09:56 -04:00
Pol Dellaiera 609733b94b
Merge pull request #235282 from ereslibre/bump-unison-M4i
unison: M4h -> M4i
2023-06-08 18:02:15 +02:00
Psentee 344daa4cb8 yosys: 0.29 -> 0.30 2023-06-08 18:22:13 +03:00
figsoda c184a80efa
Merge pull request #236563 from figsoda/erg 2023-06-08 10:56:27 -04:00
Artturi 69b154f738
Merge pull request #234204 from vcunat/p/gcc-nofetch-patch 2023-06-08 17:53:58 +03:00
Weijia Wang 6ea0aa6814 julia_19-bin: 1.9.0 -> 1.9.1 2023-06-08 16:36:27 +03:00
github-actions[bot] 2259be2076
Merge staging-next into staging 2023-06-08 12:02:05 +00:00
Nick Cao d4886a0689
julia_19: 1.9.0 -> 1.9.1
Diff: https://github.com/JuliaLang/julia/compare/v1.9.0...v1.9.1
2023-06-08 19:56:32 +08:00
Pascal Bach 4114a9167a
Merge pull request #216888 from lucperkins/add-assemblyscript
assemblyscript: init at 0.27.5
2023-06-08 08:12:43 +02:00
figsoda 207180add1 erg: init at 0.6.13
https://github.com/erg-lang/erg
2023-06-07 23:02:44 -04:00
Luc Perkins 4dde8d3832
assemblyscript: init at 0.27.5
Fix
2023-06-07 19:20:10 -07:00
github-actions[bot] 83e7490bd0
Merge staging-next into staging 2023-06-08 00:03:05 +00:00
figsoda bb00010470
Merge pull request #236447 from RaitoBezarius/cairo-lang-compiler
cairo-lang: init at 1.1.0
2023-06-07 16:11:38 -04:00
github-actions[bot] 45c3df25d7
Merge staging-next into staging 2023-06-07 18:01:50 +00:00
Pol Dellaiera 0837dc6b77
Merge pull request #236358 from qowoz/go119
go_1_19: 1.19.9 -> 1.19.10
2023-06-07 19:46:52 +02:00
Pol Dellaiera 428c26aba3
Merge pull request #236359 from qowoz/go120
go_1_20: 1.20.4 -> 1.20.5
2023-06-07 19:46:31 +02:00
Francesco Gazzetta 9e7eb18ad8
Merge pull request #236420 from fgaz/rustc-llvm16
rustc: use llvm_16
2023-06-07 19:31:56 +02:00
Raito Bezarius 2ef54182a3 cairo-lang: init at 1.1.0
`cairo-lang` is a general purpose language for provable computations using
PCP (probabilistically checkable proofs — https://en.wikipedia.org/wiki/Probabilistically_checkable_proof)

This is the v1 Rust-based compiler version of the project.
2023-06-07 16:37:23 +02:00
github-actions[bot] 4715513f7b
Merge staging-next into staging 2023-06-07 12:01:38 +00:00
Vincent Laporte 381e92a35e jasmin-compiler: 2022.09.2 → 2022.09.3 2023-06-07 12:59:19 +02:00
Francesco Gazzetta 131808261a rustc: use llvm_16
https://github.com/rust-lang/rust/releases/tag/1.70.0 (Internal Changes)
https://github.com/rust-lang/rust/pull/109474/
2023-06-07 11:06:13 +02:00
github-actions[bot] 03925ecb5f
Merge staging-next into staging 2023-06-07 06:01:45 +00:00
Nick Cao c123fb09be
Merge pull request #236130 from figsoda/verify-cargo-deps
treewide: unset verifyCargoDeps
2023-06-06 20:27:48 -06:00
zowoq deb3d80ae0 go_1_20: 1.20.4 -> 1.20.5
Changelog: https://go.dev/doc/devel/release#go1.20
2023-06-07 07:04:54 +10:00
zowoq 1887a08e2a go_1_19: 1.19.9 -> 1.19.10
Changelog: https://go.dev/doc/devel/release#go1.19
2023-06-07 07:02:42 +10:00
github-actions[bot] 71a0dc0490
Merge staging-next into staging 2023-06-06 18:01:51 +00:00
figsoda 0152258d4e
Merge pull request #235966 from figsoda/bfc 2023-06-06 09:55:52 -04:00
github-actions[bot] 6162feee0f
Merge staging-next into staging 2023-06-06 12:02:04 +00:00
Weijia Wang 8498c52943
Merge pull request #236152 from wegank/mozart2-boost
mozart2: unpin boost169
2023-06-06 10:55:42 +03:00
Sergei Trofimovich aaf4f4acca
Merge pull request #234887 from trofi/mingw-w64-gcc-13-fix
gcc13: drop already upstreamed mingwW64 patch
2023-06-06 08:05:23 +01:00
github-actions[bot] 9634f361e8
Merge staging-next into staging 2023-06-06 00:02:59 +00:00
Samuel Ainsworth 8ae7e58981
Merge pull request #235982 from breakds/PR/breakds/cuda_nvrtc_fix
cudaPackages.cudatoolkit: mark libnvrtc-builtins needed for libnvrtc
2023-06-05 15:03:56 -07:00
Weijia Wang fc11013c20 mozart2: unpin boost169 2023-06-06 00:11:19 +03:00
figsoda 5f0f7b822b elmPackages.elm-test-rs: unset verifyCargoDeps 2023-06-05 14:32:09 -04:00