Commit Graph

15557 Commits

Author SHA1 Message Date
Astavie
f566f6744d odin: dev-2023-05 -> dev-2023-07
ols: nightly-05-18 -> nightly-07-09
ols should be updated simultaneously as it is updated in tandem with the odin compiler
2023-07-10 12:59:44 +02:00
Robert Scott
2c0610c52e intel-graphics-compiler: disable fortify3 hardening flag 2023-07-09 21:11:46 +01:00
Randy Eckenrode
937f472e92
Revert "gcc: fix build on x86_64-darwin"
This reverts commit b39481bc09.
2023-07-09 13:29:11 -06:00
github-actions[bot]
a61c7c58e4
Merge master into staging-next 2023-07-09 18:01:03 +00:00
R. Ryantm
3124e11bac cairo-lang: 1.1.1 -> 2.0.1 2023-07-09 09:17:00 +00:00
github-actions[bot]
24fc2ed8e1
Merge master into staging-next 2023-07-09 00:02:38 +00:00
Anderson Torres
d485da9d00 zig_0_10: refactor
- Use rec-less, overlay-style overridable recursive attributes (in effect since
NixOS#119942);
- Add decoration hooks over installCheckPhase
- Use doInstallCheck instead of doCheck.
- Directly sets env.ZIG_GLOBAL_CACHE_DIR instead of using preBuild
- Add meta.changelog
2023-07-08 20:40:38 -03:00
Anderson Torres
cc08d73612 zig_0_9: refactor
- Move zig_0_10_0 to prePatch
- Use rec-less, overlay-style overridable recursive attributes (in effect since
NixOS#119942);
- Add meta.changelog
2023-07-08 20:40:38 -03:00
figsoda
44d074c5d1
Merge pull request #242283 from reckenrode/rust-darwin-hotfix 2023-07-08 15:12:16 -04:00
github-actions[bot]
e949ec41bd
Merge master into staging-next 2023-07-08 18:01:04 +00:00
Vladimír Čunát
c9706d1a74
Merge #242108: gcc: fix build on x86_64-darwin
...into staging-next
2023-07-08 16:44:14 +02:00
Randy Eckenrode
93320f3e30
rustc: link libc++abi on Darwin 2023-07-08 07:33:04 -06:00
Ryan Lahfa
a471203d44
Merge pull request #241786 from Luflosi/update/edk2 2023-07-08 14:16:52 +02:00
Thiago Kenji Okada
298ff2f2a4
Merge pull request #210067 from devholic/flutter-darwin
flutter: add darwin support
2023-07-08 13:13:46 +01:00
Weijia Wang
b39481bc09 gcc: fix build on x86_64-darwin 2023-07-08 11:03:41 +03:00
github-actions[bot]
cc1af72ece
Merge master into staging-next 2023-07-08 06:01:19 +00:00
Nick Cao
94c52940c4
Merge pull request #241654 from sequencer/patch-1
circt: 1.40.0 -> 1.44.0
2023-07-08 08:09:50 +08:00
github-actions[bot]
6d9902baac
Merge master into staging-next 2023-07-08 00:02:35 +00:00
Mario Rodas
839b78afa5
Merge pull request #241860 from marsam/update-typescript
typescript: 5.1.5 -> 5.1.6
2023-07-07 18:54:40 -05:00
github-actions[bot]
f66291aefe
Merge master into staging-next 2023-07-07 18:01:21 +00:00
Jiuyang Liu
b6465c84a1 circt: 1.40.0 -> 1.44.0 2023-07-07 20:43:03 +08:00
Profpatsch
c97ad2763a rm Profpatsch from stuff without interest/capacity of maintaining
For tree-sitter I’m still interested, but don’t want to be first in
the list :)
2023-07-07 12:53:42 +02:00
Sunghoon Kang
37a10c3cb7
flutter: revert unnecessary extension extraction
Signed-off-by: Sunghoon Kang <me@hoon.dev>
2023-07-07 16:59:52 +09:00
Sunghoon Kang
77618bd28b
flutter: revert patch changes
Signed-off-by: Sunghoon Kang <me@hoon.dev>
2023-07-07 16:56:40 +09:00
Sunghoon Kang
8cb8349928
flutter: fix hash
Signed-off-by: Sunghoon Kang <me@hoon.dev>
2023-07-07 13:16:43 +09:00
Sunghoon Kang
77702747e7
flutter: add darwin support
Signed-off-by: Sunghoon Kang <me@hoon.dev>
2023-07-07 13:07:34 +09:00
github-actions[bot]
c0f0122ec5
Merge master into staging-next 2023-07-07 00:02:49 +00:00
Weijia Wang
8ce0dbb537
Merge pull request #241757 from r-ryantm/auto-update/binaryen
binaryen: 113 -> 114
2023-07-06 23:25:32 +03:00
github-actions[bot]
1a76e12ddc
Merge master into staging-next 2023-07-06 18:01:11 +00:00
Adam Joseph
424952b7b4 gccWithoutTargetLibc: link libgcc_s.so using -mnewlib if isPower
Closes #244405

Also adds considerably more commenting to document what is going on.
2023-07-06 05:50:26 -07:00
Adam Joseph
07494a467a
Merge pull request #243615 from amjoseph-nixpkgs/pr/gcc/fix-m68k
gcc: if isM68k, look for libgcc_s.so.2 (instead of .so.1)
2023-07-19 22:10:25 +00:00
Sandro
7e2f926bbb
Merge pull request #236274 from yboettcher/add-opensycl 2023-07-19 11:20:55 +02:00
Weijia Wang
d1f0c02127
Merge pull request #244190 from nagy/chicken-update
chickenPackages: update eggs
2023-07-19 12:07:35 +03:00
R. Ryantm
7e0f542df8 inform6: 6.41-r5 -> 6.41-r6 2023-07-18 20:03:17 +00:00
Daniel Nagy
9beee1207b
chickenPackages: update eggs 2023-07-18 18:45:00 +02:00
Yannik Böttcher
925cfb87a3 opensycl: init at 0.9.4 2023-07-16 16:48:26 +02:00
Laurent CaniBot
81fae6294b ligo: 0.68.0 -> 0.69.0 2023-07-06 12:34:33 +00:00
Weijia Wang
6d1b8e5ade osl: add darwin support 2023-07-06 13:26:07 +03:00
SubhrajyotiSen
8a2c033ef5 kotlin{-native}: 1.8.22 -> 1.9.0 2023-07-06 15:42:32 +05:30
Mario Rodas
24837847cd typescript: 5.1.5 -> 5.1.6
Diff: https://github.com/microsoft/TypeScript/compare/v5.1.5...v5.1.6

Changelog: https://github.com/microsoft/TypeScript/releases/tag/v5.1.6
2023-07-06 04:20:00 +00:00
Luflosi
2edeba8e6c
edk2: 202302 -> 202305
https://github.com/tianocore/edk2/releases/tag/edk2-stable202305
2023-07-06 00:09:29 +02:00
R. Ryantm
432be1a032 binaryen: 113 -> 114 2023-07-05 19:17:31 +00:00
github-actions[bot]
8791a24d33
Merge staging-next into staging 2023-07-05 18:02:00 +00:00
Weijia Wang
abc6b30c1c
Merge pull request #241674 from wegank/osl-bump
osl: 1.12.12.0 -> 1.12.13.0, fix build
2023-07-05 15:31:32 +03:00
Weijia Wang
3938d0b820 osl: 1.12.12.0 -> 1.12.13.0 2023-07-05 14:34:49 +03:00
github-actions[bot]
1629e8b4b4
Merge staging-next into staging 2023-07-05 06:01:56 +00:00
Jan Tojnar
2819e547d3 Merge branch 'staging-next' into staging
; Conflicts:
;	pkgs/development/libraries/nss/generic.nix

- bb53634671 removed the conditionals since firefox-esr-91 and nss <3.69 has been dropped a while ago.
- cb3762857d updated the conditionals to always partition the tests based on the nss_latest version. Chosen that since it will remain future proof.
2023-07-05 02:22:26 +02:00
Ilan Joselevich
d625c36563
Merge pull request #240715 from FlafyDev/flutter-cache-drv-2
flutter: Separate cache and unwrapped derivations #2
2023-07-05 03:03:27 +03:00
Weijia Wang
d647798822
Merge pull request #238506 from Enzime/mullvad-aarch64
mullvad-vpn: support `aarch64-linux`
2023-07-04 17:37:12 +03:00
Artturi
2dae0c7000
Merge pull request #241390 from figsoda/hvm 2023-07-04 16:38:31 +03:00
Artturi
1460be790c
Merge pull request #241388 from figsoda/kind2 2023-07-04 16:28:37 +03:00
github-actions[bot]
14bdc27ee1
Merge staging-next into staging 2023-07-04 12:01:56 +00:00
Michael Hoang
4da27723f3 mullvad-vpn: support aarch64-linux 2023-07-04 20:11:41 +10:00
Janik
d9c0d0ddfb
Merge pull request #231484 from hacker1024/package/del/flutter2 2023-07-04 11:15:59 +02:00
figsoda
c9471b2146 hvm: fix build 2023-07-03 22:31:23 -04:00
figsoda
40d8e0c429 kind2: fix build 2023-07-03 22:30:31 -04:00
hacker1024
309f54ae5b flutter: Remove Flutter 2 2023-07-04 08:59:01 +10:00
Dessix
532a7d3f1d cudaPackages_12_2.cudatoolkit: init at 12.2.0
Fixed #239557 via autoPatchelf to `qt6.(...)` packages.
2023-07-03 14:35:09 -07:00
github-actions[bot]
afae8eadb8
Merge staging-next into staging 2023-07-03 12:01:45 +00:00
Weijia Wang
dca4f365f4
Merge pull request #240952 from r-ryantm/auto-update/sagittarius-scheme
sagittarius-scheme: 0.9.9 -> 0.9.10
2023-07-03 10:31:18 +03:00
github-actions[bot]
d3954e9196
Merge staging-next into staging 2023-07-02 18:01:45 +00:00
R. Ryantm
02ccdac17a flix: 0.37.0 -> 0.38.0 2023-07-02 13:09:57 +00:00
github-actions[bot]
8066e45fb3
Merge staging-next into staging 2023-07-02 06:01:47 +00:00
Nick Cao
370b624cdc
Merge pull request #232199 from Sohalt/jdk20
temurin-bin, openjdk, openjfx: init at 20
2023-07-02 13:04:25 +08:00
github-actions[bot]
f5a8109c46
Merge staging-next into staging 2023-07-02 00:03:47 +00:00
sohalt
eacd9ad04d
openjdk: init at 20+36 and openjfx: init at 20+19 2023-07-02 07:52:14 +08:00
sohalt
f1aea50754
temurin-bin: init 20.0.1 2023-07-02 07:51:52 +08:00
sohalt
3e01bd323b
temurin-bin/sources.json: regenerate 2023-07-02 07:51:52 +08:00
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
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