Commit Graph

14232 Commits

Author SHA1 Message Date
Robert Hensing
359a46e751 llvm*: Remove outputSpecified workaround where possible
The effect of `.out // { outputSpecified = false; }` in these cases
is to select the default output explicitly, but then make the
selection implicit until `overrideAttrs` is called. Previously
`overrideAttrs` would not preserve output selection, masking the
apparently unnecessary behavior of this workaround.

For `libllvm-polly`, this logic does not apply, as it does not
select the default output.

The `outputSpecified` workaround was introduced in
https://github.com/NixOS/nixpkgs/pull/122554

and was perhaps rushed because of a release deadline, and expected
delays from mass rebuilds.

The change in `overrideAttrs` behavior was added in
5b2f597b11 / https://github.com/NixOS/nixpkgs/pull/211685

and the problem was discovered in https://github.com/NixOS/nixpkgs/pull/218537,
which may contain further information.
2023-02-28 00:34:00 +00:00
github-actions[bot]
ce1777b04a
Merge master into haskell-updates 2023-02-28 00:13:36 +00:00
Weijia Wang
647a7f0eea
Merge pull request #218684 from wegank/orc-gcc12
orc: fix build with gcc12 on aarch64-linux
2023-02-28 00:37:35 +02:00
Weijia Wang
e825a158dc orc: fix build with gcc12 on aarch64-linux 2023-02-27 23:47:08 +02:00
figsoda
70f0b88566
Merge pull request #218372 from figsoda/scryer
scryer-prolog: replace patch with environment variable, clean up
2023-02-27 13:38:45 -05:00
Robert Scott
9157b0d978
Merge pull request #218207 from LeSuisse/mruby-3.2.0
mruby: 3.1.0 -> 3.2.0
2023-02-27 00:52:29 +00:00
sternenseemann
80cff3a5b2 Merge remote-tracking branch 'origin/master' into haskell-updates 2023-02-26 20:45:50 +01:00
github-actions[bot]
399e2c78d4
Merge master into staging-next 2023-02-26 06:01:09 +00:00
Winter
3d0de0e8c8 gcc12: fix building foreign toolchain on aarch64-darwin
It seems that the patchset we apply to get some fixes for aarch64-darwin
support [0] breaks in unexpected ways when compiling a foreign toolchain [1].
Luckily, according to the branch's author, the patchset isn't required
for merely using aarch64-darwin as the build system [2], so let's only apply
it when hostPlatform == aarch64-darwin to fix cross.

[0]: https://github.com/iains/gcc-12-branch
[1]: https://github.com/iains/gcc-12-branch/issues/18
[2]: https://github.com/iains/gcc-12-branch/issues/18#issuecomment-1435792834
2023-02-26 00:48:03 -05:00
figsoda
515b3009c1 scryer-prolog: replace patch with environment variable, clean up
https://github.com/NixOS/nixpkgs/pull/217084 plans to migrate Rust packages to use `importCargoLock`, but the migration script cannot handle `cargoPatches`: https://github.com/NixOS/nixpkgs/pull/217084#discussion_r1111253151
2023-02-25 23:41:51 -05:00
github-actions[bot]
81c06fad73
Merge master into haskell-updates 2023-02-26 00:14:44 +00:00
github-actions[bot]
348549a031
Merge master into staging-next 2023-02-26 00:02:44 +00:00
Norbert Melzer
d6f93d07b4
Merge pull request #210627 from wizeman/u/fix-fstar 2023-02-25 22:03:46 +01:00
github-actions[bot]
52a11b56f9
Merge master into staging-next 2023-02-25 18:01:03 +00:00
Benjamin Asbach
546f356db6 remove myself as maintainer for now as I switched to another distro 2023-02-25 18:56:02 +01:00
Thomas Gerbet
dfacfebe23 mruby: 3.1.0 -> 3.2.0
https://github.com/mruby/mruby/blob/3.2.0/NEWS

Fixes:
- CVE-2022-0080
- CVE-2022-0240
- CVE-2022-0326
- CVE-2022-0631
- CVE-2022-0481
- CVE-2022-0525
- CVE-2022-0570
- CVE-2022-0614
- CVE-2022-0623
- CVE-2022-0630
- CVE-2022-0631
- CVE-2022-0632
- CVE-2022-0717
- CVE-2022-0890
- CVE-2022-1106
- CVE-2022-1212
- CVE-2022-1276
- CVE-2022-1286
- CVE-2022-1934
2023-02-25 11:33:48 +01:00
github-actions[bot]
359de95de5
Merge master into haskell-updates 2023-02-25 00:14:08 +00:00
github-actions[bot]
78fc07ec20
Merge master into staging-next 2023-02-25 00:02:47 +00:00
Samuel Ainsworth
d24dde7f6c
Merge pull request #217367 from ConnorBaker/feat/cudaFlags-arch-rewrite
cudaFlags: rewrite to capture all architectures and fix NixOS#215436
2023-02-24 17:31:11 -05:00
Weijia Wang
4333d4f1e6
Merge pull request #215338 from r-ryantm/auto-update/llvmPackages_rocm.llvm
llvmPackages_rocm.llvm: 5.4.2 -> 5.4.3
2023-02-24 20:46:43 +02:00
github-actions[bot]
2384cd723b
Merge master into staging-next 2023-02-24 12:01:20 +00:00
Kyle Butt
9ace1d895c haskell.compiler.ghc94*: backport Cabal bugfix for Paths_ modules
There is a code generation bug in Cabal-3.6.3.0. For packages configured with
--enable-relocatable, Cabal would generate code that doesn't compile.

There isn't an upstream issue, but the issue is described in the commit that
fixed it:
6c796218c9

It was fixed in Cabal-3.8.*
Backport the fix to the Cabal library that ships with ghc-9.4.4

Cabal 3.8 ships with ghc-9.6, so when 9.6 is released this fix shouldn't be
necessary.
2023-02-24 12:48:37 +01:00
Ryan Mulligan
7e91be2022 scala: fix updatescript evaluation 2023-02-23 21:27:01 -08:00
github-actions[bot]
baa8a3d30c
Merge master into staging-next 2023-02-24 05:07:16 +00:00
Alyssa Ross
f9afd57302 Revert "llvmPackages_15: update licenses"
This reverts commit 386aba3115.

As I understand it from reading
<https://llvm.org/docs/DeveloperPolicy.html#copyright-license-and-patents>,
the structure of LLVM licensing is as follows:

 - They're in the process of relicensing to Apache-2.0 WITH LLVM-exception,
   but they haven't got permission to relicense all the code yet.
   This means that some of the code can be used under the new license,
   but not all of it, and it's difficult to know which is which.  This
   license is therefore probably not useful yet, until the relicensing
   effort is commit.

 - While the relicensing effort is ongoing, code being contributed to
   LLVM has to have permission to be used under the old and new
   licensing schemes.  Since the new licensing scheme can't be used
   for all code yet, it only makes sense to use LLVM's code under the
   old licensing scheme at the moment.

 - The old licensing scheme is that code for the LLVM components we
   care about is all available under the NCSA license, and some
   components are optionally available under a different license,
   usually the MIT license, instead.

So I think we should go back to just listing NCSA, or NCSA/MIT, and
forget about the new license until it actually becomes useful,
i.e. LLVM's relicensing effort is complete.
2023-02-24 00:06:46 +00:00
Connor Baker
dddc103fdb cudaFlags: rewrite to capture all architechtures and fix #215436 2023-02-23 16:34:12 -05:00
github-actions[bot]
4688cd53b6
Merge master into staging-next 2023-02-23 18:01:15 +00:00
Alyssa Ross
7ce8e7c4cf lib.licenses.asl20-llvm: replace llvm-exception
LLVM-exception only makes sense when used with the Apache 2.0 license,
so let's combine them, so it's not possible to forget one of them like
happened with llvm_15.
2023-02-23 17:42:15 +00:00
Alyssa Ross
52c286ee5b
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
	pkgs/development/libraries/pmdk/default.nix
2023-02-23 13:51:34 +00:00
Alyssa Ross
af0078a3dd llvmPackages_git.bintools: fix eval
Was probably missed because llvmPackages_git is only evaluated as an
alias.

Fixes: cdb39a86e0 ("treewide: use optionalString")
2023-02-23 13:14:08 +01:00
Bernardo Meurer
42008a14a4
Merge pull request #217206 from Artturin/stdenvimprovements1 2023-02-23 12:07:47 +00:00
github-actions[bot]
010946fcbd
Merge master into staging-next 2023-02-23 06:01:03 +00:00
Samuel Ainsworth
dc3ac9dc42
Merge pull request #217322 from ConnorBaker/cudatoolkit-prune-broken-symlinks
cudatoolkit: prune broken symlinks in `postFixup`
2023-02-22 22:42:42 -05:00
Nick Cao
12f94adb89
Merge pull request #217702 from Luflosi/update/yosys
yosys: 0.25 -> 0.26
2023-02-23 10:50:23 +08:00
github-actions[bot]
7f396edf16
Merge master into staging-next 2023-02-23 00:02:23 +00:00
Artturin
3251013cc1 treewide: env.NIX_CFLAGS_COMPILE use toString on result of optionals
env values must be strings
2023-02-22 21:23:05 +02:00
Artturin
226e149145 treewide: env.NIX_CFLAGS_COMPILE use optionalString instead of optional
env values must be strings
2023-02-22 21:23:05 +02:00
Artturin
f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
Artturin
6f6cc4a22d treewide: use toString on list NIX_CFLAGS_COMPILE
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper
2023-02-22 21:23:04 +02:00
Connor Baker
c181273423 cudaPackages_12: 12.0.0 -> 12.0.1 2023-02-22 13:19:49 -05:00
José Luis Lafuente
9dafd18b80
graalvm19-ce: init at 22.3.1 2023-02-22 10:47:02 +01:00
Connor Baker
476de5c070 cudatoolkit: prune broken symlinks in postFixup
As cudatoolkit is currently written, 11.8 introduces a broken symlink in `include` (also named `include`) and in `lib` (named `lib64`).

This trips up some consumers, like `tensorflow-gpu`.
2023-02-21 20:39:00 -05:00
Luflosi
ee1ea62bd3
yosys: 0.25 -> 0.26
https://github.com/YosysHQ/yosys/releases/tag/yosys-0.26
2023-02-22 02:04:56 +01:00
github-actions[bot]
fd8dd0c966
Merge master into staging-next 2023-02-21 18:01:08 +00:00
Anderson Torres
6f4f861727 xa: 2.3.13 -> 2.3.14 2023-02-21 10:17:03 -03:00
Anderson Torres
c1ed7f0a2e dxa: refactor 2023-02-21 10:17:03 -03:00
github-actions[bot]
507feca606
Merge master into staging-next 2023-02-20 12:01:32 +00:00
Ulrik Strid
65a2ffba20 ligo: 0.59.0 -> 0.60.0 2023-02-20 11:03:39 +01:00
Weijia Wang
ff3802ebf4
Merge pull request #217183 from zainab-ali/ocaml-spacetime-support
ocaml: remove spaceTimeSupport after 4.12
2023-02-20 11:14:17 +02:00
Winter
f08437edcb clippy: add rust team to maintainers
Missed this in 1e814042af.
2023-02-20 01:19:56 -05:00
Winter
fd5fa383fe clippy: drop rustc from buildInputs
This may have been required when the package was originally added [0],
but it builds and runs just fine without it now.

[0]: 682e6fafa4
2023-02-20 01:19:56 -05:00
Winter
759bd7b26f clippy: fix on darwin
As of Rust 1.67.0, the cargo-clippy binary now relies on the rustc_private
libraries [0], so let's do the RPATH fixup to it too.

I've also added a comment to explain the RPATH situation, as it took me
a bit to figure out.

[0]: https://github.com/rust-lang/rust-clippy/pull/9541
2023-02-20 01:19:56 -05:00
Sandro Jäckel
c90dcc7327 rustc: add ripgrep and wezterm to passthru.tests
ripgrep is a very popular grep replacement (similar to fd and find)
and wezterm is a popular terminal emulator which has a big codebase with
lots of features tested (it also broke in the past multiple times on
rustc upgrades.).
2023-02-20 01:16:58 -05:00
zainab-ali
c3bf65df67 ocaml: remove spaceTimeSupport after 4.12
Spacetime support was removed in OCaml version 4.12.
See the OCaml release notes: https://ocaml.org/releases/4.12.0.
See the pull request to OCaml: ocaml/ocaml#9948.
2023-02-19 16:42:53 +00:00
github-actions[bot]
85ba84c218
Merge master into staging-next 2023-02-19 12:01:25 +00:00
Maximilian Bosch
6fd802152a
Merge pull request #216906 from LibreCybernetics/update-scala
scala: 3.2.0 → 3.2.2
2023-02-19 11:21:22 +01:00
sternenseemann
6d4d75f584
Merge pull request #215925 from NixOS/haskell-updates
haskellPackages: update stackage and hackage
2023-02-19 10:27:01 +01:00
github-actions[bot]
61d29782b3
Merge master into staging-next 2023-02-19 06:01:36 +00:00
Yureka
e27be43360
llvm_15: reenable libclang_rt.profile-....a build on musl (#217042)
This was lost because of a bad merge
2023-02-19 01:38:31 +01:00
github-actions[bot]
2534cd7dad
Merge master into haskell-updates 2023-02-19 00:14:51 +00:00
github-actions[bot]
a1eb3e0b3e
Merge master into staging-next 2023-02-19 00:02:27 +00:00
Yureka
3a2b7bd7d7 gcc: add missing libucontext buildInput for pkgsMusl.gccgo12 2023-02-18 23:51:32 +01:00
sternenseemann
bbe6402eca Merge remote-tracking branch 'origin/master' into haskell-updates 2023-02-18 21:56:57 +01:00
github-actions[bot]
54adb1d4b1
Merge master into staging-next 2023-02-18 06:01:29 +00:00
Fabián Heredia Montiel
5728350050 scala: 3.2.0 → 3.2.2 2023-02-17 20:23:17 -06:00
Joshua Niemelä
a4f7cd5fe3 julia_19: add joshniemela to maintainers 2023-02-18 02:59:03 +01:00
github-actions[bot]
862a8fd659
Merge master into haskell-updates 2023-02-18 00:13:45 +00:00
Joshua Niemelä
e37ca9c317 julia_19: 1.9.0-beta2 -> 1.9.0-beta4 2023-02-17 14:33:13 +01:00
github-actions[bot]
72bb5faaca
Merge master into staging-next 2023-02-17 12:01:21 +00:00
Winter
ac44b254b4 zig_0_9: build with baseline CPU target
26b9a2f4a1 changes Zig 0.10 to build the
compiler (notably *not* its outputs, at least not by default) with
its baseline CPU target, but we should ideally do it for both versions
to increase reproducibility, as well as increase the number of users who
are able to use Hydra-provided Zig binaries.

This also adds a comment above the flag in 0.10, to explain why we're adding
the flag, as we do with the RPATH one.

See https://github.com/NixOS/nixpkgs/issues/214356 and https://github.com/NixOS/nixpkgs/issues/185665
for further context.
2023-02-16 21:59:16 -05:00
github-actions[bot]
f442a49be3
Merge master into haskell-updates 2023-02-17 00:14:22 +00:00
github-actions[bot]
f38c4cce4a
Merge master into staging-next 2023-02-16 06:01:07 +00:00
Thiago Kenji Okada
ec32e05671
Merge pull request #216532 from thiagokokada/add-nodejs-to-graalvm-ce
graalvmCEPackages.nodejs-installable-svm: init at 22.3.1
2023-02-16 02:17:27 +00:00
github-actions[bot]
dd816c8cfd
Merge master into haskell-updates 2023-02-16 00:13:54 +00:00
zowoq
e06c5e0108 go: add meta.changelog 2023-02-16 10:13:40 +10:00
github-actions[bot]
5539facae8
Merge master into staging-next 2023-02-16 00:02:23 +00:00
Thiago Kenji Okada
cc7ec82f3c graalvmCEPackages.nodejs-installable-svm: init at 22.3.1 2023-02-15 22:43:08 +00:00
Thiago Kenji Okada
3a53307dd9 graalvmCEPackages.buildGraalvmProduct: link languages .so to $out/lib 2023-02-15 22:43:08 +00:00
zowoq
4ffd5a8684 go_1_20: 1.20 -> 1.20.1 2023-02-16 07:28:19 +10:00
zowoq
2a603a41a5 go_1_19: 1.19.5 -> 1.19.6 2023-02-16 07:27:43 +10:00
Thiago Kenji Okada
1e39bda357 graalvm*-ce: improve update.sh script 2023-02-15 21:15:38 +00:00
Thiago Kenji Okada
76e8420cf8 graalvmCEPackages: remove unnecessary inputs 2023-02-15 21:07:19 +00:00
Raphael Robatsch
7d0299eaf3 dotnet-sdk_6: 6.0.405 -> 6.0.406
Release notes: https://github.com/dotnet/core/blob/main/release-notes/6.0/6.0.14/6.0.14.md
Fixes: CVE-2023-21808
2023-02-15 17:38:33 +01:00
github-actions[bot]
1638d35583
Merge staging-next into staging 2023-02-15 12:01:56 +00:00
Thiago Kenji Okada
3a1c146eb7
Merge pull request #216228 from thiagokokada/graalvm-ce-add-more-products
graalvmCEPackages.{js,python,wasm,ruby,llvm}-installable-svm: init at 22.3.1
2023-02-15 10:18:18 +00:00
github-actions[bot]
b56ce2853a
Merge master into haskell-updates 2023-02-15 00:14:20 +00:00
github-actions[bot]
58cfebde3e
Merge staging-next into staging 2023-02-15 00:02:50 +00:00
Thiago Kenji Okada
cce466a582 graalvm*-ce: allow all parameters to be overriden 2023-02-14 19:04:12 +00:00
Thiago Kenji Okada
3926d8c482 graalvmCEPackages.ruby-installable-svm: disable broken test in darwin 2023-02-14 17:53:57 +00:00
Thiago Kenji Okada
19e4e0a5e9 graalvmCEPackages.graaljs: init at 22.3.1 2023-02-14 17:19:52 +00:00
Thiago Kenji Okada
248449fbdf graalvmCEPackages: formatting 2023-02-14 17:00:45 +00:00
Thiago Kenji Okada
820eb1cc8d graalvmCEPackages.buildGraalvm: disable test in Darwin 2023-02-14 17:00:01 +00:00
Thiago Kenji Okada
eaa3e39cc0 graalvmCEPackages.ruby-installable-svm: run patchelf only in Linux 2023-02-14 16:53:34 +00:00
Thiago Kenji Okada
a065de41ac graalvmCEPackages.ruby-installable-svm: update comment about locale 2023-02-14 16:44:24 +00:00
Thiago Kenji Okada
3e5d655f0f graalvmCEPackages.graalvm11-ce-full: fix llvm-installable-svm version 2023-02-14 16:43:06 +00:00
Thiago Kenji Okada
c9d481f3ca graalvm*-ce-full: improve comment about it 2023-02-14 16:32:49 +00:00
Thiago Kenji Okada
acf8579307 graalvmCEPackages.buildGraalvmProduct: add passthru.graalvmPhases
This way it is easier to differentiate between phases running in the
`buildGraalvmProduct` and `buildGraalvm`.
2023-02-14 16:01:43 +00:00
Thiago Kenji Okada
140046c422 graalvmCEPackages.ruby-installable-svm: init at 22.3.1 2023-02-14 15:46:39 +00:00
Thiago Kenji Okada
365ff22467 graalvmCEPackages.llvm-installable-svm: init at 22.3.1 2023-02-14 15:34:17 +00:00
Thiago Kenji Okada
4f150675ba graalvm*-ce: make update.sh script re-use cache 2023-02-14 15:17:12 +00:00