Sergei Trofimovich
e6d4aecb97
openjdk17: revert back to gnumake-4.4 as gnumake-4.4.1 breaks the build
...
Without the change `openjdk` build fails on `staging-next` as:
> installing
> mv: missing destination file operand after '/nix/store/pwgvafi1xwa6l0dygmcyr1sl27dhpy67-openjdk-19.0.2+7/lib/openjdk'
> Try 'mv --help' for more information.
2023-03-04 21:52:53 +00:00
Sergei Trofimovich
41a6b03b89
openjdk: revert back to gnumake-4.4 as gnumake-4.4.1 breaks the build
...
Without the change `openjdk` build fails on `staging-next` as:
> installing
> mv: missing destination file operand after '/nix/store/pwgvafi1xwa6l0dygmcyr1sl27dhpy67-openjdk-19.0.2+7/lib/openjdk'
> Try 'mv --help' for more information.
2023-03-04 21:48:54 +00:00
R. Ryantm
f7a9b7e9d3
mlkit: 4.7.2 -> 4.7.3
2023-03-04 14:24:13 +00:00
Martin Weinelt
d0286ecd24
Merge remote-tracking branch 'origin/staging' into staging-next
2023-03-04 01:42:06 +00:00
Someone Serge
ac64f07f9c
cudaPackages.cudaFlags: drop unused capabilitiesAndForward
2023-03-04 03:14:37 +02:00
Someone Serge
0c25f5aa7f
cudaPackages.cudatoolkit: remove unused gcc argument
2023-03-04 03:14:37 +02:00
github-actions[bot]
0054352986
Merge master into haskell-updates
2023-03-04 00:12:53 +00:00
Someone Serge
8bf5f5ac89
magma: use CMAKE_CUDA_ARCHITECTURES directly
2023-03-04 01:04:25 +02:00
Someone
c376c54f70
cudaPackages.cudatoolkit: refactor inheriting passthru.cc
...
Co-authored-by: Connor Baker <ConnorBaker01@Gmail.com>
2023-03-04 01:04:25 +02:00
Someone Serge
17248123b6
cudaPackages_12: use gcc12
2023-03-04 01:04:25 +02:00
Someone Serge
5f4bdbe6c3
python3Packages.tensorflow: fix `GLIBCXX_3.4.30' not found
...
Make tensorflow (and a bunch of ther things) use CUDA-compatible
toolchain. Introduces cudaPackages.backendStdenv
2023-03-04 01:03:51 +02:00
Someone Serge
d378cc6fb2
opencv4: respect config.cudaCapabilities
...
This is needed for faster builds when debugging the opencv derivation,
and it's more consistent with other cuda-enabled packages
-DCUDA_GENERATION seems to expect architecture names, so we refactor
cudaFlags to facilitate easier extraction of the configured archnames
2023-03-04 00:59:21 +02:00
Someone Serge
cf7fb1d08f
python3Packages.tensorflow: add cudaCapabilities argument
...
Rearrange tensorflow to allow overriding cudaCapabilities.
This is needed when debugging the tensorflow derivation
2023-03-04 00:59:21 +02:00
Someone Serge
94bbbb0471
cudaPackages: point nvcc at a compatible -ccbin
...
This is a hot-fix to un-break cuda-enabled packages (like tensorflow,
jaxlib, faiss, opencv, ...) after the gcc11->gcc12 bump. We should
probably build the whole downstream packages with a compatible stdenv
(such as gcc11Stdenv for cudaPackages_11), but just pointing nvcc at the
right compiler seems to do the trick
We already used this hack for non-redist cudatoolkit. Now we use it more
consistently.
This commit also re-links cuda packages against libstdc++ from the same
"compatible" gcc, rather than the current stdenv. We didn't test if this
is necessary -> need to revise in further PRs.
NOTE: long-term we should make it possible to override -ccbin and use
e.g. clang
2023-03-04 00:59:20 +02:00
sternenseemann
2278f9ebe2
haskell.compiler: fix GHCs' user guide build with sphinx >= 6.0
...
This requires backporting upstream's fix to all GHCs we are currently
shipping, since only GHC 9.4.5 and 9.6.1 will receive a backport.
GHC HEAD will be taken care of in #217168 .
https://gitlab.haskell.org/ghc/ghc/-/merge_requests/9625
https://gitlab.haskell.org/ghc/ghc/-/issues/22690
2023-03-03 23:56:30 +01:00
superherointj
40120dbf3b
Merge pull request #219299 from vbgl/ocaml-mezzo-fix
...
ocamlPackages.mezzo: fix build
2023-03-03 17:13:29 -03:00
figsoda
18a6d5d132
openjfx19: add gtk2
2023-03-03 13:57:36 -05:00
figsoda
b434398a50
openjfx17: add gtk2
2023-03-03 13:57:36 -05:00
figsoda
4eaa0c57d9
openjfx11: add gtk2
2023-03-03 13:57:36 -05:00
github-actions[bot]
a74c8d03ea
Merge staging-next into staging
2023-03-03 18:01:44 +00:00
Thiago Kenji Okada
b3d8e08a5c
Merge pull request #217651 from jlesquembre/init-graalvm19-ce
...
graalvm19-ce: init at 22.3.1
2023-03-03 16:46:00 +00:00
Adam Stephens
3090584869
gleam: 0.26.2 -> 0.27.0
2023-03-03 11:24:21 -05:00
Martin Weinelt
b44213aac1
Merge pull request #219011 from wegank/rust-cleanup
...
rust, firefox, spidermonkey: cleanup
2023-03-03 14:23:20 +00:00
Alyssa Ross
a10d676199
llvm: tighten platforms
...
LLVM can't be built for all architectures supported by Nixpkgs (s390,
and for some versions m68k and RISC-V).
2023-03-03 13:45:14 +00:00
Vincent Laporte
9a57e0b57b
ocamlPackages.mezzo: fix build
...
This had been broken by 376e9ceead
2023-03-03 06:08:25 +00:00
Martin Weinelt
0580d85143
Merge remote-tracking branch 'origin/staging-next' into staging
2023-03-03 04:46:31 +01:00
Sergei Trofimovich
7b8d86277d
ocaml: disable parallel installs
...
Without the change parallel install fails as:
$ install flags: -j16 ...
...
install: target '...-ocaml-4.14.0/lib/ocaml/threads': No such file or directory
make[1]: *** [Makefile:140: installopt] Error 1
2023-03-02 22:00:52 +00:00
Kasper Gałkowski
254765f3d2
lisp-modules: make spec.flags a list of strings
2023-03-02 19:04:47 +01:00
Kasper Gałkowski
5a3c528cce
lisp-modules: wrap lisps
2023-03-02 19:04:47 +01:00
Kasper Gałkowski
a43b5237ed
clasp: init at 2.2.0
2023-03-02 19:04:46 +01:00
Kasper Gałkowski
6c96e30a3a
clasp: remove
2023-03-02 19:04:46 +01:00
sternenseemann
fa65158286
elmPackages.elm-format: reflect text 2.0.1 -> 2.0.2
2023-03-02 15:06:09 +01:00
R. Ryantm
98ee15d192
ballerina: 2201.2.2 -> 2201.4.0
2023-03-02 12:54:12 +00:00
Alyssa Ross
9bfc5871c1
llvmPackages_15.compiler-rt: drop codesign patch
...
This was added in 00839fea22
("llvmPackages_15.compiler-rt: fixes for Darwin"),
which says:
> this introduces a codesigning related patch that we can drop once
> #195107 goes through
The referenced PR ("sigtool: 0.1.2 → 0.1.3") has now been merged, so
I'm dropping the patch as instructed.
2023-03-02 12:36:21 +00:00
Rahul Butani
b06ac37f38
llvmPackages*.clang_manpages: drop the sphinx find_package
patch
...
This is a backport of f8cbbdd05b
.
LLVM versions >= 5.0.0 already look for sphinx when `LLVM_ENABLE_SPHINX`
is enabled: ea139eccc1
2023-03-02 12:34:33 +00:00
github-actions[bot]
6c8444842c
Merge staging-next into staging
2023-03-02 12:02:00 +00:00
Aaron VonderHaar
7a818c55bc
elm-format: 0.8.5 -> 0.8.6
2023-03-01 13:38:02 -08:00
github-actions[bot]
736c488efe
Merge staging-next into staging
2023-03-01 18:01:48 +00:00
Weijia Wang
39a2b0b3bf
rust: remove aarch64-linux workaround
...
This commit reverts #209113 , since aarch64-linux now uses GCC 12 by default.
2023-03-01 18:42:07 +02:00
sternenseemann
451d699696
Merge remote-tracking branch 'origin/master' into haskell-updates
2023-03-01 15:05:44 +01:00
Ulrik Strid
fea42519a4
ocaml: 4.14.0 -> 4.14.1
2023-03-01 12:20:49 +00:00
github-actions[bot]
4b691f3ab3
Merge master into haskell-updates
2023-03-01 00:16:43 +00:00
github-actions[bot]
758a48fae4
Merge staging-next into staging
2023-03-01 00:03:05 +00:00
sternenseemann
81d5cb1550
haskell.compiler.ghc927: init at 9.2.7
...
https://www.haskell.org/ghc/blog/20230227-ghc-9.2.7-released.html
2023-03-01 00:39:01 +01:00
Adam Stephens
2b554db6c0
gleam: 0.25.3 -> 0.26.2
2023-02-28 16:27:19 -05:00
Martin Weinelt
3686005e6e
Merge remote-tracking branch 'origin/staging-next' into staging
2023-02-28 21:17:51 +00:00
Sandro Jäckel
c1771c4741
intel-graphics-compiler: 1.0.12504.5 -> 1.0.12812.26
2023-02-28 17:44:18 +01:00
Pavol Rusnak
4a6cd14f37
Merge pull request #217624 from JamieMagee/dotnet-8.0
...
dotnet-sdk_8: init at 8.0.100-preview.1.23115.2
2023-02-28 15:50:07 +01:00
Jamie Magee
7fcb2ae4b5
dotnet-sdk_8: init at 8.0.100-preview.1.23115.2
2023-02-28 15:35:28 +01:00
Alyssa Ross
1db7f30d1f
lld: explain why we change the stack size on Musl
...
Suggested-by: Rahul Butani <rrbutani@users.noreply.github.com>
2023-02-28 10:56:53 +00:00
Alyssa Ross
6cc523ca28
lld: build with 2M stack size
...
Port of 6485a02fb3
("llvm 14 lld: build with 2M stack size to fix
firefox lto").
2023-02-28 10:56:53 +00:00
Alyssa Ross
ed209e6279
clang_15: mark hardeningUnsupportedFlags fortify3
...
Port of 74ea4fe24f
("llvm*Packages.clang: mark
hardeningUnsupportedFlags fortify3").
2023-02-28 10:53:33 +00:00
github-actions[bot]
51c18e4be1
Merge staging-next into staging
2023-02-28 06:01:38 +00:00
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
github-actions[bot]
387a5e220d
Merge staging-next into staging
2023-02-28 00:03:08 +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
Alyssa Ross
60a2f64123
llvmPackages_git: switch to using ninja
...
Port of 912056c71e
("llvmPackages_15: switch to using `ninja`").
2023-02-27 16:11:48 +00:00
Alyssa Ross
fe1c338510
llvmPackages_git: expand the NIX_BUILD_CORES
arg passed to lit at configure time
...
Port of 4d3857d6ed
("llvmPackages_15: expand the `NIX_BUILD_CORES`
arg passed to lit at configure time").
2023-02-27 16:11:48 +00:00
Alyssa Ross
4040a6d131
llvmPackages_git.compiler-rt: fix Glibc build
...
Copied from LLVM 15.
2023-02-27 10:56:20 +00:00
Alyssa Ross
e731fba414
llvmPackages_git.compiler-rt: fix armv7l patch
...
Use the same patch as compiler-rt 15.
2023-02-27 10:56:20 +00:00
github-actions[bot]
288c9d7892
Merge staging-next into staging
2023-02-27 06:01:44 +00: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
Alyssa Ross
1e26d33371
clang_15: add nostdlibinc flag
...
Port of 44165d3657
("llvmPackages_{14, git}.clang: add nostdlibinc flag")
to Clang 15. It was originally thought this wasn't needed[1], but it is,
to fix expressions like the following:
with import ./. {};
llvmPackages_15.libcxxStdenv.mkDerivation {
name = "libcxx-stdenv-c++-test";
dontUnpack = true;
input = ''
#include <cstdlib>
int main() {
std::abort();
return 0;
}
'';
passAsFile = [ "input" ];
installPhase = ''
$CXX -c -o $out -x c++ $inputPath
'';
}
[1]: https://github.com/NixOS/nixpkgs/pull/194634#issue-1398202534
2023-02-26 13:40:24 +00:00
Alyssa Ross
eb2eafd2af
clang_13,clang_14,clang_git: deduplicate patch
...
The same patch applies to all Clang versions using it.
2023-02-26 13:40:24 +00:00
github-actions[bot]
de3f71e277
Merge staging-next into staging
2023-02-26 06:02:30 +00: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
Jan Tojnar
9bb986284f
Merge branch 'staging-next' into staging
...
# Conflicts:
# pkgs/development/python-modules/mdp/default.nix
# pkgs/top-level/python-aliases.nix
2023-02-26 01:13:37 +01:00
github-actions[bot]
348549a031
Merge master into staging-next
2023-02-26 00:02:44 +00:00
Winter
d5dc3d17f3
rustc: re-enable parallel building
...
We previously disabled this based on a now-closed issue from 2015 [0].
I think enough time has passed that we can give it a shot again, given
that the in the worst case scenario we revert, and in the best case
scenario we get a performance boost.
[0]: https://github.com/rust-lang/rust/issues/30181
2023-02-26 09:09:35 +10: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
Sergei Trofimovich
504c4fdc34
Merge pull request #217977 from amjoseph-nixpkgs/pr/gcc/fix-plugin-order-assertion
...
gcc: fix implication order in assertion
2023-02-25 08:40:28 +00:00
Jan Tojnar
a8122ef792
Merge pull request #217733 from jtojnar/vala
...
vala: 0.56.3 → 0.56.4
2023-02-25 01:56:07 +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]
13fb68e8cf
Merge staging-next into staging
2023-02-24 12:01:52 +00: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
Adam Joseph
c3547bc6eb
gcc/{11,12}: update buildFlags for --disable-bootstrap
case
...
This commit updates the `buildFlags`, which is a single string with
one of four possibilities:
- ""
- "profiled"
- "bootstrap"
- "profiledbootstrap"
Previously only the last two were possible. Since
2ea3482502
all four are possible.
2023-02-23 23:22:19 -08:00
Adam Joseph
86a0e46ed4
gcc: fix implication order in assertion
...
In 6812dd98c4
I mistakenly had the
implication order reversed. This commit corrects that mistake.
The original assertion (which is correct) was the following, which
asserts that if you enable the GDB plugin, you must enable plugins
generally (there is shared infrastructure):
```
assert enableGdbPlugin -> enablePlugin;
```
When the option name was changed to `disableGdbPlugin`, I
incorrectly wrote:
```
assert disableGdbPlugin -> enablePlugin;
```
And then again incorrectly wrote:
```
assert disableGdbPlugin -> !enablePlugin;
```
This commit uses the correct equivalent for the first statement,
which is the contrapositive:
```
assert !enablePlugin -> disableGdbPlugin;
```
2023-02-23 22:54:49 -08:00
Ryan Mulligan
7e91be2022
scala: fix updatescript evaluation
2023-02-23 21:27:01 -08:00
github-actions[bot]
6a1e9345c0
Merge staging-next into staging
2023-02-24 05:07:48 +00: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]
3cdd771820
Merge staging-next into staging
2023-02-23 18:01:49 +00: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
Sergei Trofimovich
6812dd98c4
Merge pull request #216237 from amjoseph-nixpkgs/pr/gcc/enableGdbPlugin
...
gcc/common: add disableGdbPlugin option
2023-02-23 07:35:57 +00:00
github-actions[bot]
36f198081c
Merge staging-next into staging
2023-02-23 06:01:36 +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
Adam Joseph
24b07fc9e5
gcc/common: add disableGdbPlugin option
...
This commit adds an option `disableGdbPlugin` which controls whether
or not the plugin *for* GDB will be built. This plugin contains a
copy of `gcc`.
The configure flag that this option controls is called
`--disable-libcc1`. This flag name is slightly confusing: it is
used only by GDB (and apparently unmaintained), yet the flag name
does not mention GDB. This is why the option name is different from
the configure flag name.
The primary motivation for this commit is to allow the following PR
(which is not yet merged) to pass `--disable-libcc1` when building
the final native (build=host=target) compiler as part of the stdenv
bootstrap:
https://github.com/NixOS/nixpkgs/pull/209870
We need to `--disable-libcc1` in this scenario because gcc's build
machinery links `libcc1` against the `libstdc++` that is part of the
*compiler used to compile gcc*, rather than against the `libstdc++`
that is built *by* gcc. In an FHS distribution this distinction is
not terribly important because dynamically linked libraries are
late-bound (ld.so resolution). However in nixpkgs this causes a
reference back to the bootstrapFiles to leak all the way through to
the final stdenv.
More details can be found in the comment in
`pkgs/stdenv/linux/default.nix` of the PR linked above.
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2023-02-22 19:30:34 -08: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]
82db2c5621
Merge staging-next into staging
2023-02-23 00:02:59 +00:00
github-actions[bot]
7f396edf16
Merge master into staging-next
2023-02-23 00:02:23 +00:00
Jan Tojnar
f8116ec6b4
vala: 0.56.3 → 0.56.4
...
https://gitlab.gnome.org/GNOME/vala/-/compare/0.56.3...0.56.4
2023-02-22 20:56:40 +01: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]
9acd1eb7fd
Merge staging-next into staging
2023-02-21 18:01:45 +00: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]
0a547ad8b7
Merge staging-next into staging
2023-02-20 12:02:08 +00: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]
1ce3b0f272
Merge staging-next into staging
2023-02-19 12:02:03 +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]
ba877c4755
Merge staging-next into staging
2023-02-19 06:02:10 +00: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]
8c0220980d
Merge staging-next into staging
2023-02-19 00:03:03 +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
Sergei Trofimovich
2ea3482502
Merge pull request #216136 from amjoseph-nixpkgs/pr/gcc/enableBootstrap
...
gcc: expose --disable-bootstrap as disableBootstrap
2023-02-18 08:51:38 +00:00
github-actions[bot]
770622d76c
Merge staging-next into staging
2023-02-18 06:02:07 +00: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]
3b5c06282d
Merge staging-next into staging
2023-02-17 12:01:58 +00: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
Robert Scott
0eedcfc3f4
Merge pull request #212498 from risicle/ris-fortify3
...
hardening flags: add `FORTIFY_SOURCE=3` support
2023-02-16 21:19:30 +00:00
Adam Joseph
37fe1613cf
gcc: expose --disable-bootstrap as disableBootstrap
2023-02-15 23:32:19 -08: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
Thiago Kenji Okada
171730f0f7
graalvmCEProducts.buildGraalvmProduct: make it overridable
2023-02-13 23:10:39 +00:00
Thiago Kenji Okada
e17f76f94f
graalvmCEPackages.wasm-installable-svm: init at 22.3.1
2023-02-13 21:45:03 +00:00
Thiago Kenji Okada
c37428c7f3
graalvmCEPackages.python-installable-svm: init at 22.3.1
2023-02-13 21:45:03 +00:00
Thiago Kenji Okada
ccbff74b88
graalvmCEPackages.buildGraalvmProduct: inherit default meta from graalvm-ce
2023-02-13 21:45:03 +00:00
Felix Buehler
cdb39a86e0
treewide: use optionalString
2023-02-13 21:52:34 +01:00
github-actions[bot]
f60ea3cf39
Merge staging-next into staging
2023-02-13 18:01:55 +00:00
Vladimír Čunát
dc2feb983f
Merge branch 'master' into haskell-updates
...
f1f9ae6a3b
causes everything to rebuild
2023-02-13 15:44:13 +01:00
Vladimír Čunát
f1f9ae6a3b
Merge #214010 : staging-next 2023-02-01
2023-02-13 15:42:23 +01:00
Thiago Kenji Okada
04019089fd
Merge pull request #215583 from thiagokokada/graalvm-ce-refactor
...
graalvm*-ce: refactor, 22.3.0 -> 22.3.1
2023-02-13 14:39:15 +00:00
sternenseemann
75cdc109f0
haskellPackages.ghc: 9.2.4 -> 9.2.6
...
https://www.haskell.org/ghc/blog/20230210-ghc-9.2.6-released.html
2023-02-13 15:32:09 +01:00
Vladimír Čunát
a6767ed934
Merge #212363 : gcc11: apply upstream patch
...
...into staging-next
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103910
2023-02-13 13:36:01 +01:00
github-actions[bot]
29cdca7736
Merge staging-next into staging
2023-02-13 06:02:02 +00:00
github-actions[bot]
0d7cb3a2aa
Merge master into staging-next
2023-02-13 06:01:30 +00:00
Alyssa Ross
c6c7493c3b
Merge remote-tracking branch 'origin/master' into staging-next
...
Conflicts:
pkgs/development/python-modules/pyarrow/default.nix
2023-02-13 00:15:28 +00:00
Nick Cao
3a2e567184
Merge pull request #211814 from pbsds/gnu-cim-init
...
gnu-cim: init at 5.1
2023-02-13 08:00:10 +08:00
Anderson Torres
2213ca4bf2
Merge pull request #215994 from adamcstephens/zig_10/baseline
...
zig_0_10: switch to baseline cpu target for better compatibility
2023-02-12 18:13:43 -03:00
Thiago Kenji Okada
d2e047f112
graalvm-ce: add it to all-packages pointing to graalvm11-ce
2023-02-12 19:08:44 +00:00
github-actions[bot]
ec17e92f67
Merge staging-next into staging
2023-02-12 16:03:16 +00:00
github-actions[bot]
87f957b5e2
Merge master into staging-next
2023-02-12 16:02:45 +00:00
Artturi
8d4db5e081
Merge pull request #215751 from Artturin/gccaddcallfile
2023-02-12 18:00:49 +02:00
Adam Joseph
b83f032ffc
gcc/11: apply upstream fix 103910 so openjdk builds
...
Our openjdk derivations fail to build with `-march=opteron` (via
either `NIX_CFLAGS_COMPILE` or `hostPlatform.gcc.arch`). This was
fixed upstream in gcc12 but not carried back to gcc11:
https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=d243f4009d8071b734df16cd70f4c5d09a373769
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103910
Since gcc11 is still nixpkgs' primary compiler, this PR cherry-picks
the fix out of gcc12.
Unfortunately since `-march=` can be added after the `gcc11`
derivation is built we can't apply this patch conditionally (which
we don't usually do anyways).
2023-02-12 07:40:05 -08:00
Thiago Kenji Okada
542c88f871
graalvm*-ce: remove old sources file
2023-02-12 14:46:56 +00:00
Adam Stephens
26b9a2f4a1
zig_0_10: switch to baseline cpu target for better compatibility
2023-02-12 09:22:11 -05:00
github-actions[bot]
23496088d9
Merge staging-next into staging
2023-02-12 06:02:09 +00:00
github-actions[bot]
db256a18b5
Merge master into staging-next
2023-02-12 06:01:33 +00:00
Ellie Hermaszewska
4d4ee0650f
Merge pull request #213089 from NixOS/haskell-updates
...
haskellPackages: update stackage and hackage
2023-02-12 13:58:21 +08:00
Artturin
6986717510
gcc: add common/meta.nix
...
inherit has to be used otherwise makeOverridable attributes are added
2023-02-12 05:44:34 +02:00
Peder Bergebakken Sundt
9b3774cc90
gnu-cim: init at 5.1
2023-02-12 02:46:42 +01:00
Nick Cao
9a43914b54
Merge pull request #215762 from SharzyL/circt-1.30.0
...
circt: 1.29.0 -> 1.30.0
2023-02-12 08:46:46 +08:00
github-actions[bot]
b893658602
Merge master into haskell-updates
2023-02-12 00:14:34 +00:00
github-actions[bot]
516d7767c0
Merge staging-next into staging
2023-02-12 00:03:10 +00:00
github-actions[bot]
d5c6366a21
Merge master into staging-next
2023-02-12 00:02:30 +00:00
Alyssa Ross
78367ae5cb
ocaml-ng.ocamlPackages_4_09.ocaml: fix with GCC 12
2023-02-11 21:49:06 +00:00
Anderson Torres
1ea6d335ee
Merge pull request #215851 from atorres1985-contrib/dev86
...
dev86: 0.16.21 -> unstable-2022-07-19
2023-02-11 16:56:24 -03:00
Artturin
e277984d0b
gcc: add callFile to make it more convenient to call files
...
inherit generated with 'nix eval --json --impure --expr "with import ./. {}; lib.attrNames (lib.functionArgs gccX.cc.override)" | jq '.[]' --raw-output'
2023-02-11 21:17:30 +02:00
github-actions[bot]
b0f16e56b0
Merge staging-next into staging
2023-02-11 18:01:50 +00:00
github-actions[bot]
15bfb025ab
Merge master into staging-next
2023-02-11 18:01:19 +00:00
Anderson Torres
45d1e00708
harePackages.hare: mark as broken on ARM64
2023-02-11 14:07:52 -03:00
Anderson Torres
ad966da347
harePackages.hare: 2022-07-30 -> 2023-02-10
2023-02-11 14:07:52 -03:00
Anderson Torres
4c4ce6a068
harePackages.harec: 2022-07-02 -> 2023-02-08
2023-02-11 14:07:52 -03:00
Anderson Torres
fb7ddb6681
harePackages: refactor
2023-02-11 14:07:52 -03:00
Anderson Torres
bb69864c55
dev86: 0.16.21 -> unstable-2022-07-19
2023-02-11 14:05:13 -03:00
Thiago Kenji Okada
79c2eceda8
graalvm*-ce: 22.3.0 -> 22.3.1, migrate upgrade script to sh
2023-02-11 13:37:15 +00:00
Anderson Torres
193d10b1dd
Merge pull request #215572 from r-ryantm/auto-update/qbe
...
qbe: 1.0 -> 1.1
2023-02-11 10:29:03 -03:00
github-actions[bot]
a5b021e538
Merge staging-next into staging
2023-02-11 12:01:48 +00:00
github-actions[bot]
cd4ded4f12
Merge master into staging-next
2023-02-11 12:01:14 +00:00
Samuel Tam
84c20a3d0c
gcc-arm-embedded-12: support aarch64-darwin
2023-02-11 14:27:07 +08:00
SharzyL
fe33f762c1
circt: 1.29.0 -> 1.30.0
...
Release notes: https://github.com/llvm/circt/releases/tag/firtool-1.30.0
2023-02-11 10:46:37 +08:00
github-actions[bot]
8b6e0c6c05
Merge master into haskell-updates
2023-02-11 00:12:02 +00:00
Vladimír Čunát
13e8ec1f2d
Merge branch 'staging-next' into staging
2023-02-10 13:46:44 +01:00
github-actions[bot]
9be52f693f
Merge master into staging-next
2023-02-10 12:01:38 +00:00
Vladimír Čunát
eb54a45db6
Merge #215672 : circt: fix build with non clang stdenv
2023-02-10 12:16:37 +01:00
Ellie Hermaszewska
a4d9bba477
Merge remote-tracking branch 'origin/master' into haskell-updates
2023-02-10 18:50:20 +08:00
Nick Cao
3364d76c0b
circt: fix build with non clang stdenv
...
lib.optionalString creates an empty string when the condition is false
And the circt test framework interprets this as disabling all tests
failing the build with `error: filter did not match any tests`
2023-02-10 18:41:05 +08:00
Weijia Wang
fa2fe92715
Merge pull request #215195 from r-ryantm/auto-update/hip
...
hip: 5.4.2 -> 5.4.3
2023-02-10 09:35:38 +01:00
github-actions[bot]
f72b07e57d
Merge staging-next into staging
2023-02-10 06:01:53 +00:00
github-actions[bot]
bff8e74964
Merge master into staging-next
2023-02-10 06:01:18 +00:00
Nick Cao
ec91da3c2f
Merge pull request #215592 from r-ryantm/auto-update/p4c
...
p4c: 1.2.3.5 -> 1.2.3.6
2023-02-10 12:34:12 +08:00
Austin Seipp
241586918d
yosys-symbiflow: 2022.11.07 -> 2023.02.08
...
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2023-02-09 18:43:13 -06:00
github-actions[bot]
3eecda0ad6
Merge master into haskell-updates
2023-02-10 00:13:57 +00:00
github-actions[bot]
0417b0e54f
Merge staging-next into staging
2023-02-10 00:03:00 +00:00
github-actions[bot]
71c0c6d984
Merge master into staging-next
2023-02-10 00:02:27 +00:00
Thiago Kenji Okada
0c7f039bad
maintainers/team-list: create graalvm-ce team
2023-02-09 23:46:19 +00:00
Thiago Kenji Okada
1da6843f1b
buildGraalvm: do not add products inputs
2023-02-09 23:41:40 +00:00