Commit graph

13671 commits

Author SHA1 Message Date
Martin Weinelt af006f866c
Merge pull request #210139 from winterqt/update-rustc 2023-01-11 03:10:48 +00:00
Martin Weinelt c1e6c6af69 Merge remote-tracking branch 'origin/master' into staging-next 2023-01-11 03:51:33 +01:00
Winter 21dbce8f83 rustc: 1.66.0 -> 1.66.1
https://github.com/rust-lang/rust/blob/stable/RELEASES.md#version-1661-2023-01-10

Fixes CVE-2022-46176.
2023-01-10 20:10:18 -05:00
Samuel Ainsworth 035e7d3d75 cudaPackages_12: init at 12.0.0 2023-01-11 00:36:36 +00:00
Boey Maun Suang c7ce0c86a6 gnat12: Fix GNAT Darwin dylib install names 2023-01-11 09:03:43 +11:00
ajs124 fe3a3ab0f3
Merge pull request #200437 from r-ryantm/auto-update/kotlin
kotlin: 1.7.20 -> 1.8.0
2023-01-10 21:31:52 +01:00
Sandro b5bd459f79
Merge pull request #208132 from wegank/cmdstan-aarch64-linux 2023-01-10 11:46:50 +01:00
Sandro dec762f688
Merge pull request #207909 from numinit/add-asn1c 2023-01-10 11:33:19 +01:00
R. Ryantm 404ef069ce julia_18: 1.8.4 -> 1.8.5 2023-01-10 02:47:13 +00:00
Samuel Ainsworth cc6801e0cf
Merge pull request #209618 from samuela/samuela/cudatoolkit
cudaPackages.cudatoolkit: fix build, python27 -> python3
2023-01-09 15:29:24 -05:00
Weijia Wang 3e15a7a463 teyjus: 2.1 -> unstable-2019-07-26 2023-01-09 20:35:45 +01:00
Weijia Wang bcb37e4aca cmdstan: build from source 2023-01-08 23:57:02 +01:00
Weijia Wang 7ea4e36ad7 stanc: init at 2.31.0 2023-01-08 23:52:23 +01:00
Martin Weinelt 4d65509504 Merge remote-tracking branch 'origin/master' into staging-next 2023-01-08 16:34:30 +01:00
Thiago Kenji Okada c1aa02a83d
Merge pull request #200988 from hacker1024/patch-2
flutter: Expose internal derivation creation functions
2023-01-08 15:17:18 +00:00
Thiago Kenji Okada 5dd1eee859
Merge pull request #208750 from wegank/ats2-darwin
ats2: add darwin support
2023-01-08 14:55:06 +00:00
Samuel Ainsworth 9756d10158 cudaPackages.cudatoolkit: python27 -> python3
python27 was recently marked as insecure, breaking cudaPackages.cudatoolkit. This commit has been successfully tested against the earliest supported, 10.0, and the latest supported, 11.8, with the assumption that intermediate versions ought to work as well.
2023-01-08 03:47:26 +00:00
github-actions[bot] 4bf238a8fb
Merge master into staging-next 2023-01-08 00:02:31 +00:00
maralorn 747e2e43f5
Merge pull request #209522 from sternenseemann/ghc-js-backend-fix-config-sub-rollback
pkgsCross.ghcjs.haskellPackages.ghc: don't revert edited config.sub
2023-01-07 22:26:15 +01:00
github-actions[bot] 3b3114f45d
Merge master into staging-next 2023-01-07 18:01:08 +00:00
sternenseemann 0aa01bef76 pkgsCross.ghcjs.haskellPackages.ghc: don't revert edited config.sub
GHC ships a [modified] config.sub so that js-unknown-ghcjs is accepted
by autotools. For some platforms, we automatically update config.sub
from upstream's source in order to prevent that builds fail when we use
an outdated config.sub. In this case of course the perfectly up to date
config.sub would reject the target platform we are trying to use, so we
must disable this mechanism for now.

I have asked in the GHC IRC channel if there are any plans on
upstreaming the platform. It would be nice if were able to drop this
change in the future.
2023-01-07 18:33:36 +01:00
Thiago Kenji Okada 755864aba0 graalvm*-ce: add meta.mainProgram 2023-01-07 14:46:25 +00:00
Thiago Kenji Okada 3085ef40d9 graalvm*-ce: add meta.sourceProvenance 2023-01-07 14:45:08 +00:00
Boey Maun Suang 3d64e7edbb gnat12: Add support for x86_64-darwin 2023-01-07 18:32:12 +11:00
Boey Maun Suang 006a1d0a45 gnatboot: Add x86_64-darwin packages 2023-01-07 18:32:12 +11:00
github-actions[bot] 00aa7f762f
Merge master into staging-next 2023-01-07 06:01:13 +00:00
Robert Scott 517f1cb18f
Merge pull request #209352 from Luflosi/update/yosys
yosys: 0.24 -> 0.25
2023-01-07 00:37:23 +00:00
github-actions[bot] 0789ea69b1
Merge master into staging-next 2023-01-07 00:02:25 +00:00
Thomas Gerbet 17e0a37381
Merge pull request #209104 from risicle/ris-openimageio-1-to-2
openimageio: default to openimageio2, rename 1.x to openimageio_1
2023-01-06 23:52:03 +01:00
Robert Scott 63ed4f9d34
Merge pull request #206765 from JamieMagee/dotnet-3.1
dotnet-sdk_3.1: 3.1.425 -> 3.1.426
2023-01-06 22:10:35 +00:00
Robert Scott a02fee6afc
Merge pull request #206768 from JamieMagee/dotnet-7.0
dotnet-sdk_7.0: 7.0.100 -> 7.0.101
2023-01-06 20:37:31 +00:00
Artturi c7e842df16
Merge pull request #209089 from amjoseph-nixpkgs/pr/temurin-bin/powerpc64le 2023-01-06 20:33:42 +02:00
Martin Weinelt 5b308cd1df Merge remote-tracking branch 'origin/master' into staging-next 2023-01-06 19:10:05 +01:00
Alyssa Ross 35b4b29302 edk2: add 32-bit ARM support 2023-01-06 17:43:06 +00:00
Luflosi 23ba1ad053
yosys: 0.24 -> 0.25
https://github.com/YosysHQ/yosys/releases/tag/yosys-0.25
2023-01-06 18:07:06 +01:00
Luflosi 5ad20ca731
nextpnr: 0.4 -> 0.5
https://github.com/YosysHQ/nextpnr/releases/tag/nextpnr-0.5
2023-01-06 16:32:25 +01:00
Robert Scott a1deb65b09 openimageio: default to openimageio2, rename 1.x to openimageio_1
keep a couple of packages "using" openimageio_1 - both are broken
anyway, but as such we have no evidence that they work with 2.x.
all are liable to get removed in the near future anyway.
2023-01-05 20:26:49 +00:00
Martin Weinelt afd962b51c Merge remote-tracking branch 'origin/master' into staging-next 2023-01-05 17:16:26 +01:00
Martin Weinelt 7d05447323
Merge pull request #209113 from winterqt/rust-aarch64-linux-fix 2023-01-05 17:07:20 +01:00
Mario Rodas c04afffe37
Merge pull request #208918 from wegank/zig-darwin
zig: fix build on darwin
2023-01-05 08:15:59 -05:00
github-actions[bot] 4acd5a978b
Merge staging-next into staging 2023-01-05 12:01:57 +00:00
Ulrik Strid a8153eadb4 ligo: 0.58.0 -> 0.59.0 2023-01-05 10:39:27 +01:00
zowoq 19a8a0ad21 go_1_20: 1.20rc1 -> 1.20rc2 2023-01-05 18:45:41 +10:00
github-actions[bot] 0c8280b1c4
Merge staging-next into staging 2023-01-05 06:01:39 +00:00
7c6f434c ad101a313a
Merge pull request #209023 from hraban/sbcl-2.3.0
sbcl: 2.2.11 -> 2.3.0
2023-01-05 01:38:15 +00:00
github-actions[bot] 0c98bf3e85
Merge staging-next into staging 2023-01-05 00:02:56 +00:00
maralorn 3b1869aa95 Merge branch 'master' into haskell-updates 2023-01-05 00:18:05 +01:00
Winter 8442601c64 rust: fix on aarch64-linux by using GCC 11 and passing -lgcc
This change switches to using GCC 11 by default on aarch64-linux, as well as passing `-lgcc` to the linker, per #201485.

See #201254 and #208412 for wider context on the issue.
2023-01-04 18:15:20 -05:00
Jan Tojnar b1a2373aa8
Merge pull request #208384 from BenediktBroich/blueprint-compiler
blueprint-compiler: refactor
2023-01-04 23:27:20 +01:00
Adam Joseph 549c82db11 temurin-bin/sources.json: regenerate 2023-01-04 13:02:52 -08:00
Adam Joseph 7361d240a8 temurin-bin/generate-sources.py: add ppc64le to rosetta stone 2023-01-04 13:02:46 -08:00
github-actions[bot] 789ae2c93d
Merge staging-next into staging 2023-01-04 18:01:36 +00:00
John Ericson b92fb601c2
Merge pull request #208947 from sternenseemann/ghc-head-js-backend-try-1
haskell.compiler.ghcHEAD: support JS backend
2023-01-04 09:12:10 -05:00
Yureka 0319a561ec pkgsMusl.gccgo: fix build 2023-01-04 13:21:20 +01:00
Hraban Luyat 2ad09632e7 sbcl: 2.2.11 -> 2.3.0 2023-01-04 12:05:38 +01:00
SubhrajyotiSen a43ad0c995 kotlin-native: 1.7.10 -> 1.8.0 2023-01-04 14:26:23 +05:30
github-actions[bot] 20d97c0508
Merge master into haskell-updates 2023-01-04 00:12:52 +00:00
github-actions[bot] e859576396
Merge staging-next into staging 2023-01-04 00:03:20 +00:00
Weijia Wang c8df1da271 zig: fix build on darwin 2023-01-04 00:06:36 +01:00
sternenseemann 6392c21c1f haskell.compiler.ghcHEAD: allow building the JavaScript backend
This is now possible by building a cross compiler for js-unknown-ghjs
using `pkgsCross.ghcjs.buildPackages.haskell.compiler.ghcHEAD`.

To allow this, the following things needed to be done:

* Disable dependencies that wouldn't work:

  - Don't pull in ncurses for terminfo
  - Don't pull in libffi
  - Don't pull in libiconv
  - Don't enable the LLVM backend
  - Enable gmp-less native-bignum backend

* Use emscripten instead of a C compiler. The way this works is inspired
  by emscriptenPackages, but avoids the following flaws:

  - Instead of using a custom configurePhase, just set
    `configureScript = "emconfigure ./configure";` which is much simpler.

  - Create writable EM_CACHE before configuring, as configure scripts
    want to compile test programs.

  Additionally, we need to disable the targetCC check, as it is not
  applicable with emscripten which never appears as part of stdenv.

* Use generic $configureScript in installPhase to be able to work with
  our emconfigure trick.

Note that the corresponding Haskell package set does not work yet. Cabal
doesn't seem to like GHC 9.7 yet and the generic-builder is clueless
about the JS backend.
2023-01-04 00:02:29 +01:00
sternenseemann b711b52d15 jre, temurin-bin: fix eval in pkgsCross.ghcjs.buildPackages
Since #200337 gobject-introspection propagates itself via
depsTargetTargetPropagated, so one doesn't have to add it to every
derivation twice. The problem is that gobject-introspection still is in
a lot of buildInputs and will thus propagate itself again for target,
breaking evaluation unnecessarily if gobject-introspection doesn't
evaluate on whatever the target platform turns out to be.

temurin-bin and openjdk19 caused such a situation via gtk3 which GHC's
JavaScript backend depends on. To fix evaluation of those packages in
pkgsCross.ghcjs.buildPackages, we'll just disable the features pulling
in gtk3 until this is fixed properly.
2023-01-04 00:02:29 +01:00
sternenseemann de8e0bfaa7 haskell.compiler: also check targetPlatform for gmp compat
gmp is part of buildInputs _and_ depsTargetTarget, so we need to check
the host and target platform to be correct. In practice this doesn't
change much though, as gmp.meta.platforms is _quite_ liberal.
2023-01-04 00:01:25 +01:00
sternenseemann 12af3ee5c5 emscripten: fake cc-wrapper-esque passthru attrs for GHC
For the GHC JavaScript backend, we'll use emscripten in place of
targetCC. To avoid having too much special logic for this, we'll make
the emscripten derivation look like the result of wrapCC as far as GHC
is concerned, i.e. we need targetPrefix and bintools.

For bintools, we'll just reexpose emscripten, as it has emar, the only
relevant bintools. That the other ones are missing doesn't matter in
practice, as the GHC build system won't attempt to use them.

targetPrefix can immediately be (ab)used to make sure GHC will correctly
call emcc etc. instead of plain cc.
2023-01-03 22:45:05 +01:00
Robert Scott 11e43555d5
Merge pull request #208716 from wegank/osl-aarch64-linux
osl: unbreak on aarch64-linux
2023-01-03 21:32:17 +00:00
github-actions[bot] e076f677a1
Merge staging-next into staging 2023-01-03 18:01:45 +00:00
Mario Rodas 2ccd8932c1
Merge pull request #208854 from NickCao/julia-typo
julia_18: fix typo in JULIA_CPU_TARGET
2023-01-03 09:39:58 -05:00
sternenseemann 3665c429d3 haskell.compiler.ghcHEAD: 9.5.20220921 -> 9.7.20221224
Finally building a cross compiler using hadrian is possible, but there
are some outstanding issues regarding external libraries in the package
db which causes issues with ghc-bignum.
2023-01-03 15:23:53 +01:00
markuskowa e00766c170
Merge pull request #208397 from Munksgaard/ispc-platforms
ispc: Add aarch64-linux and aarch64-darwin platforms
2023-01-03 14:47:31 +01:00
Pavol Rusnak 73f6ea95a2
Merge pull request #208857 from prtzl/gcc-arm-embedded
gcc-arm-embedded-12: init at 12.2.rel1
2023-01-03 13:10:45 +01:00
github-actions[bot] e2839320bb
Merge staging-next into staging 2023-01-03 12:01:44 +00:00
prtzl 18d4d8224a gcc-arm-embedded-12: init at 12.2.rel1 2023-01-03 10:08:13 +01:00
Nick Cao 9e949edd9a
julia_18: fix typo in JULIA_CPU_TARGET 2023-01-03 16:48:16 +08:00
Philip Munksgaard 7b0c8a8318
ispc: Add aarch64-linux and aarch64-darwin platforms
According to https://ispc.github.io/ispc.html#selecting-the-compilation-target,
aarch64 is supported.
2023-01-03 09:35:25 +01:00
Dmitry Kalinkin de3d57875d llvmPackages_9.lldb: fix darwin build
Co-authored-by: Weijia Wang <9713184+wegank@users.noreply.github.com>
2023-01-03 01:36:48 -05:00
Dmitry Kalinkin a8f6f12879 llvmPackages_8.lldb: fix darwin build
Co-authored-by: Weijia Wang <9713184+wegank@users.noreply.github.com>
2023-01-03 01:36:48 -05:00
github-actions[bot] 586c2d4f97
Merge staging-next into staging 2023-01-03 06:01:57 +00:00
Anderson Torres 64d2ee501c
Merge pull request #208794 from wegank/tcc-darwin
tinycc: unbreak on x86_64-darwin
2023-01-02 22:19:27 -03:00
github-actions[bot] 03e830eb69
Merge staging-next into staging 2023-01-03 00:02:53 +00:00
Weijia Wang 9144942aa3 tinycc: unbreak on x86_64-darwin 2023-01-02 23:33:08 +01:00
Thiago Kenji Okada dccf78e57a
Merge pull request #206756 from Ralith/shaderc-2022.4
shaderc: 2021.0 -> 2022.4
2023-01-02 21:26:38 +00:00
Robert Scott c50e348679
Merge pull request #208489 from r-ryantm/auto-update/orc
orc: 0.4.32 -> 0.4.33
2023-01-02 16:04:47 +00:00
Weijia Wang cbee9d7965 ats-acc: fix build 2023-01-02 14:44:38 +01:00
Weijia Wang df931c41b4 ats2: add darwin support 2023-01-02 13:41:43 +01:00
Weijia Wang 15ef0c2a76 osl: unbreak on aarch64-linux 2023-01-02 07:46:37 +01:00
github-actions[bot] 051d49badb
Merge staging-next into staging 2023-01-02 06:02:21 +00:00
Alyssa Ross ad049483af edk2: don't hardcode OSes in meta.platforms
There's nothing about edk2 specific to the host OS, and it builds fine
with e.g. a NetBSD toolchain, so we should only restrict
meta.platforms by architecture, not by OS.
2023-01-02 03:58:58 +00:00
zowoq 3cc18bf489 go_1_20: init at 1.20rc1 2023-01-02 12:18:07 +10:00
Jan Tojnar 5810109b42 Merge branch 'staging-next' into staging
- readline6 attribute removed from all-packages.nix in d879125d61
- readline attribute was bumped to readline82 in 50adabdd60
2023-01-02 03:04:32 +01:00
Robert Scott 1e1b7c7765 orc: add some key reverse-dependencies to passthru.tests 2023-01-01 14:01:53 +00:00
R. Ryantm a837cde078 kotlin: 1.7.20 -> 1.8.0 2023-01-01 07:01:01 +00:00
Benjamin Saunders b03bf9b29e shaderc: 2021.0 -> 2022.4 2022-12-31 15:41:58 -08:00
R. Ryantm 05c8b62e27 orc: 0.4.32 -> 0.4.33 2022-12-31 12:14:27 +00:00
Benedikt Broich c558d50b45
blueprint-compiler: refactor
Some improvements discussed [here](https://github.com/NixOS/nixpkgs/pull/208157) after the first merge.
2022-12-31 00:20:06 +01:00
sternenseemann 0c761f74f0 haskell.compiler.ghcjs: allow building with transformers-compat-0.7
ghcjs's dependency optparse-applicative 0.15.1.0 restricts
transformers-compat to < 0.7 which is unnecessary.
2022-12-30 12:47:20 +01:00
sternenseemann 00ca09719c haskell.compiler.ghcjs: drop stale override for webdriver
webdriver-0.10.0.0 incorporated the changes we are interested.
2022-12-30 12:46:53 +01:00
github-actions[bot] 70598b7796
Merge master into haskell-updates 2022-12-30 00:12:38 +00:00
Morgan Jones 65902d647c asn1c: re-init at 0.9.28
Removal before was a false positive.
2022-12-29 12:57:45 -08:00
Sandro 7592c5142f
Merge pull request #208157 from BenediktBroich/blueprint-compiler
Closes https://github.com/NixOS/nixpkgs/pull/190223
2022-12-29 16:22:35 +01:00
sternenseemann 9e8a483770 haskell.compiler.ghc94: 9.4.2 -> 9.4.4
https://www.haskell.org/ghc/blog/20221103-ghc-9.4.3-released.html
https://www.haskell.org/ghc/blog/20221224-ghc-9.4.4-released.html
2022-12-29 13:49:47 +01:00
sternenseemann fb32148a96 carp: patch for GHC 9.2 and Stackage LTS-20 2022-12-29 13:35:15 +01:00