Commit Graph

11140 Commits

Author SHA1 Message Date
Jörg Thalheim
50474e1857
Merge pull request #147543 from risicle/ris-libcxx-13-aarch64
llvmPackages_13.libcxx: require gcc >=10 on gcc platforms
2021-12-03 16:06:34 +00:00
Bobby Rong
aed209a315
vala_0_50: drop
Has reached end of life
2021-12-03 22:48:39 +08:00
Bobby Rong
9ef385f993
vala_0_46: drop
Has reached end of life
2021-12-03 22:48:39 +08:00
Jonathan Ringer
9fcf9be974
Merge remote-tracking branch 'origin/staging' into staging-next
Conflicts:
	pkgs/development/python-modules/bx-python/default.nix
2021-12-03 00:11:41 -08:00
Bobby Rong
72eff72cf0
vala: remove disable graphviz patch for 0.44
vala_0_44 already dropped in https://github.com/NixOS/nixpkgs/pull/127243
2021-12-03 14:50:37 +08:00
Austin Seipp
5b253be591 nextpnr: 2021.09.27 -> 2021.11.24, with apycula update
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2021-12-02 21:48:51 -06:00
Austin Seipp
a79ca33d94 yosys: 0.10+1 -> 0.11+52, with abc update
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2021-12-02 21:48:51 -06:00
zowoq
2100043ba9 go_1_16: 1.16.10 -> 1.16.11 2021-12-02 19:32:00 -08:00
Ryan Burns
544707d6a4 llvmPackages_*.llvm: fix llvm-config-native with static libs
Since both static and shared libs are installed to the same `lib`
output, we override the ActiveLibDir unconditionally.

Fixes `llvm-config-native --link-static --libs`
2021-12-02 19:21:21 -08:00
Bobby Rong
b059d729f5
vala_0_52: 0.52.7 → 0.52.8
https://gitlab.gnome.org/GNOME/vala/raw/0.52.8/NEWS
2021-12-03 10:31:11 +08:00
Bobby Rong
64899e83e1
vala_0_48: 0.48.19 → 0.48.20
https://gitlab.gnome.org/GNOME/vala/raw/0.48.20/NEWS
2021-12-03 10:21:42 +08:00
Philipp Dargel
a3401f6e33 OpenJDK: expose more versions
Provide a way to access all JDK versions.
2021-12-02 17:54:20 -08:00
Alyssa Ross
f56f3f7dcc rustc: 1.56.1 -> 1.57.0 2021-12-02 16:58:40 -08:00
Jonathan Ringer
2e6fadac4e
Merge remote-tracking branch 'origin/staging-next' into staging
Conflicts:
	pkgs/development/python-modules/django-rq/default.nix
2021-12-02 16:07:50 -08:00
github-actions[bot]
987163192b
Merge master into staging-next 2021-12-03 00:01:31 +00:00
maralorn
fe03bc4363
Merge pull request #148172 from sternenseemann/ghc-build-target-llvm
haskell.compiler.*: use build->target LLVM in build
2021-12-03 00:44:10 +01:00
Malte Brandy
70df684f9e
Merge branch 'master' into haskell-updates 2021-12-02 23:49:21 +01:00
Jörg Thalheim
96956d7682
Merge pull request #145265 from Stunkymonkey/development-pname-version-3
pkgs/development: rename name to pname&version part 3
2021-12-02 14:56:34 +00:00
Alyssa Ross
f404068903
Merge remote-tracking branch 'nixpkgs/staging-next' into staging
Conflicts:
	pkgs/servers/search/groonga/default.nix
2021-12-02 14:52:44 +00:00
github-actions[bot]
9c2a129ba1
Merge master into staging-next 2021-12-02 06:01:11 +00:00
Pontus Stenetorp
6cbd21cb02
julia_16-bin and julia_17-bin: punctuation fixes
Thank you @7c6f434c for spotting these.
2021-12-02 01:18:07 +00:00
Pontus Stenetorp
6e176f712b
julia_10-bin: deprecate
No longer supported upstream:

    https://discourse.julialang.org/t/julia-v1-7-0-has-been-released-and-v1-6-is-now-lts/72336
2021-12-02 01:18:07 +00:00
Pontus Stenetorp
1526faf075
julia_17-bin: init at 1.7.0
https://github.com/JuliaLang/julia/blob/v1.7.0/NEWS.md
2021-12-02 01:18:07 +00:00
github-actions[bot]
523293d53d
Merge master into staging-next 2021-12-01 18:01:12 +00:00
sternenseemann
c610be58c0 haskell.compiler.*: use build->target LLVM in build
This is no substantial change, as we already assert that the
build->target and host->target LLVM are the same, but this brings the
terminology in the file in a more consistent order, since we use
build->target for CC/CXX and bintools already.

In fact we should be passing build->target to configure always,
host->target would come into play when updating GHC's settings file
after installing.
2021-12-01 18:37:24 +01:00
sterni
c85d141221
Merge pull request #148079 from sternenseemann/ghc-set-clang-only-if-use-llvm
haskell.compiler.*: only set CLANG to match llc/opt
2021-12-01 17:34:38 +01:00
sternenseemann
0f5a723dd1 Merge remote-tracking branch 'origin/master' into haskell-updates 2021-12-01 17:31:16 +01:00
sternenseemann
6daa4a5c04 haskell.compiler.*: use wrapped darwin bintools on aarch64
On aarch64-darwin we have additional wrappers for install_name_tool and
strip to deal with codesigning requirements (e. g. updating the
signature / checksum after changing a binary). These wrappers don't
exist on x86_64-darwin which is why the unwrapped versions were used
before, causing the kernel to kill (some) executables produced by GHC.
2021-12-01 17:29:12 +01:00
github-actions[bot]
f6f101cca5
Merge master into staging-next 2021-12-01 12:01:26 +00:00
Doron Behar
43ed12450e
Merge pull request #147828 from doronbehar/pkg/maxima 2021-12-01 11:34:38 +02:00
oxalica
754460f861
llvmPackages_13.clang: revert D100879
The malloc alignment assumption is incorrect for jemalloc and causes
mis-compilation in firefox.

https://reviews.llvm.org/D100879
https://bugzilla.mozilla.org/show_bug.cgi?id=1741454
2021-12-01 15:28:33 +08:00
sternenseemann
c23e14e33f haskell.compiler.*: assert that host->target == build->target tools
CC, CXX, LD, AR, …, LLC, OPT and CLANG will be invoked by GHC's build
system at build time in the build->target role. However, since we are
passing absolute paths, they will get saved in GHC's settings file and
later invoked at runtime, when they should be host->target. This means
that the build->target and host->target tools need to be the same for
our built GHC to work properly which is what we guard using these new
asserts.

Being able to drop these asserts would be a step towards cross-compiling
GHC (as opposed to building a GHC cross-compiler which still works).
2021-11-30 23:06:44 +01:00
sternenseemann
19fc229294 haskell.compiler.*: use targetCC for hasGold check
This is a bit shorter and more consistent with the rest of the file.
2021-11-30 23:00:11 +01:00
sternenseemann
c876c7498e haskell.compiler.*: only set CLANG to match llc/opt
* By taking clang from llvmPackages we make sure there is no version
  mismatch between LLVM (where llc and opt come from) and clang (which
  previously would be taken from stdenv on darwin for example).

* Only pass CLANG if useLLVM is true. Previously we also set this if
  targetCC was clang. This would cause potentially confusing behavior if
  llc and opt as well as clang are provided via PATH (and GHC is
  compiled with useLLVM == false), because clang from PATH would be
  ignored, but not llc and opt.
2021-11-30 22:55:19 +01:00
sternenseemann
b2e4708105 haskell.compiler.ghc921: check if ld.gold is available in useLdGold
Since 4c75874560 it is possible to
introspect if ld.gold is contained in the used bintools, so we can also
check if it is available before deciding to use it as done in the other
GHC derivations in 0908812372.
2021-11-30 22:22:30 +01:00
Felix Buehler
7678aa30b4 pkgs/development: rename name to pname&version 2021-11-30 21:32:28 +01:00
Domen Kožar
cbfcb43c9c
Merge pull request #147668 from midchildan/fix/staging/libcxxgit
llvmPackages_git.libcxx: fix darwin build
2021-11-30 14:59:09 +01:00
Bobby Rong
a067bc3775
Merge pull request #146766 from bobby285271/vala
vala: 0.54.2 → 0.54.3
2021-11-30 17:06:33 +08:00
oxalica
0d1750e9c0
gcc{10,11}: add no-sys-dir patch for RiscV
RiscV has an individual STARTFILE_PREFIX_SPEC macro which also need to
be patched.
2021-11-30 16:58:45 +08:00
github-actions[bot]
f11307e4b2
Merge staging-next into staging 2021-11-30 00:02:29 +00:00
github-actions[bot]
941a6593c8
Merge master into staging-next 2021-11-30 00:01:51 +00:00
Sandro
bf14c1f60b
Merge pull request #144115 from pennae/edk2-stdenv 2021-11-29 20:30:31 +01:00
Jonathan Ringer
3bbe9a9459
Merge remote-tracking branch 'origin/staging-next' into staging
Conflicts:
	pkgs/top-level/all-packages.nix
2021-11-29 10:15:20 -08:00
Doron Behar
57ab62314b maxima, sage: Simplify lisp-compiler arguments namings
Make clearer the difference between `maxima` and `maxima-ecl` top-level
attributes. Use the `lisp-compiler` as a passthru for all of sage's
expressions. Add the `pname` attribute for `ecl` for compatibility with
other lisp implementations.
2021-11-29 15:51:30 +02:00
github-actions[bot]
a0e9d6e2c6
Merge master into staging-next 2021-11-29 00:01:22 +00:00
sternenseemann
31ff641504 Merge remote-tracking branch 'origin/master' into haskell-updates 2021-11-28 19:31:56 +01:00
github-actions[bot]
017d32f216
Merge master into staging-next 2021-11-28 18:00:57 +00:00
sternenseemann
8f1a52ac33 haskell.compiler.*: disable useLLVM also for SPARC and PowerPC
These targets also have NCG support, but they are tested less (in fact
SPARC seems to be untested atm) and may have issues. In such cases being
able to fallback to -fllvm without rebuilding the compiler could be
useful. OTOH GHC will default to -fasm and the backends probably work
well enough in most cases.
2021-11-28 17:14:18 +01:00
7c6f434c
89bb06e7b5
Merge pull request #147685 from ninjin/julia-bin_164
julia_16-bin: 1.6.3 -> 1.6.4
2021-11-28 14:50:56 +00:00
Pontus Stenetorp
9d80a43612
julia_16-bin: 1.6.3 -> 1.6.4
Patches: https://github.com/JuliaLang/julia/compare/v1.6.3...v1.6.4

Broken `tempname` tests disabled upstream, dropping workaround patch:

    https://github.com/JuliaLang/julia/pull/43012

The issue itself however, persists:

    https://github.com/JuliaLang/julia/issues/35785
2021-11-28 10:13:11 +00:00
midchildan
24d1fc7c73
llvmPackages_git.libcxx: fix darwin build 2021-11-28 00:58:53 +09:00
sternenseemann
17b8b5a4dc haskell.compiler.*: pass runtime dependencies via configure script
GHC can actually accept absolute paths for its runtime tools (except for
touch) at configure time which are then saved in
`$out/lib/ghc-${version}/settings`. This allows us to drop the wrapper
entirely if we assume that a POSIX compliant touch is in PATH when we
run GHC later.

The touch problem can presumably be fixed by either patching the
configure file of GHC (although we need to take care not to change the
touch GHC uses during its compilation) or messing with the settings file
after installation.

The rationale for dropping the wrapper PATH entry completely is that
it's always possible to invoke GHC via its library which will bypass the
wrapper completely, leading to subtly different behavior.

Binary GHCs are not touched in this commit, but ideally they'll get a
similar treatment as well, so they are more robust, although we
generally don't need to use them as a library.

Note that GHC 8.8.4 doesn't care about install_name_tool or otool, so
the respective environment variables are not set.
2021-11-27 14:39:22 +01:00
Mario Rodas
ab8482e193 fstar: 2021.10.16 -> 2021.11.27
https://github.com/FStarLang/FStar/releases/tag/v2021.11.27
2021-11-27 04:20:00 +00:00
github-actions[bot]
c83509f73d
Merge master into haskell-updates 2021-11-27 00:07:28 +00:00
pennae
8b154985f3 edk2: use llvmPackages_9.stdenv
stdenv.cc being a list does not seem to be such a good thing.
2021-11-27 00:02:47 +01:00
Robert Scott
54a487505a llvmPackages_13.libcxx: require gcc >=10 on gcc platforms
specifically aarch64. as of version 13 libcxx does not build on gcc9.
2021-11-26 22:12:42 +00:00
github-actions[bot]
b3b6583cdc
Merge staging-next into staging 2021-11-26 18:01:58 +00:00
github-actions[bot]
b529eccbb3
Merge master into staging-next 2021-11-26 18:01:19 +00:00
Domen Kožar
70c97b9385
Merge pull request #147422 from risicle/ris-ocaml-4.09-darwin
ocaml: heed hardeningDisable flags set for individual versions, fixing many coq versions on darwin
2021-11-26 15:14:05 +01:00
Domen Kožar
845225e7ab
Merge pull request #147289 from midchildan/fix/libcxx13-darwin
llvmPackages_13.libcxx: fix darwin build
2021-11-26 15:11:49 +01:00
AndersonTorres
c254a6e12e factor98: add longDescription 2021-11-26 10:22:03 -03:00
Sandro
72ca633e48
factor-lang: quote homepage url 2021-11-26 10:09:12 -03:00
github-actions[bot]
c74685efe2
Merge staging-next into staging 2021-11-26 12:02:08 +00:00
github-actions[bot]
956b399ffa
Merge master into staging-next 2021-11-26 12:01:30 +00:00
zowoq
38ee5f8707 go: update URLs
golang.org redirects to go.dev
2021-11-26 19:12:14 +10:00
github-actions[bot]
e9e3023425
Merge staging-next into staging 2021-11-26 06:01:36 +00:00
github-actions[bot]
618b03f562
Merge master into staging-next 2021-11-26 06:01:01 +00:00
zowoq
cc8cade9ba go_1_16: 1.16.9 -> 1.16.10 2021-11-26 11:36:32 +10:00
Anderson Torres
a1f9aa0b69
Merge pull request #136921 from spacefrogg/factor-lang-revamp
factor-lang: Rewrite builder in preparation for 0.99
2021-11-25 21:33:41 -03:00
Robert Scott
dc523cbb80 ocaml: heed hardeningDisable flags set for individual versions
specifically this re-fixes ocaml 4.09 on clang by allowing its
hardeningDisable flags to take effect
2021-11-25 21:13:12 +00:00
sternenseemann
ef081bf305 haskell.compiler.*: don't useLLVM if aarch64-darwin NCG is available
aarch64-darwin NCG was added in 9.2.1 which makes it unnecessary to
include LLVM in the wrapper.
2021-11-25 19:30:05 +01:00
midchildan
7994b1dfc0
fixup! llvmPackages_13.libcxx: fix darwin build 2021-11-26 02:38:44 +09:00
Michael Raitza
4f5daac94e factor-lang: Rewrite builder in preparation for 0.99
Fixes #136400
2021-11-25 18:01:09 +01:00
sternenseemann
a7c564596e haskell.compiler.*: use isScript over grepping for #! 2021-11-25 16:48:56 +01:00
sternenseemann
f5c3b6523c haskell.compiler.*: move propagatedBuildInputs into runtimeDeps
This has two main benefits:

* GHC will work reliably outside of stdenv, even when using -fllvm since
  everything it'll call at runtime will be provided in PATH via the
  wrapper scripts.

* LLVM will no longer leak into haskell packages' configure
  scripts. This was an issue with llvm-hs which fails to build if the
  LLVM version of the compiler since the propagatedBuildInputs of GHC
  take precedence over the nativeBuildInputs added in the derivation.
2021-11-25 16:47:51 +01:00
sternenseemann
035f20bc6b haskell.compiler.*: prefix PATH with runtimeDeps
This will prevent freak accidents where the wrong tools are used because
they are in PATH by chance.
2021-11-25 16:42:47 +01:00
sternenseemann
5384a35a0c haskell.compiler.ghc*Binary: add all missing runtimeDeps to PATH
This brings the binary GHCs on parity with the source built ones in
terms of the wrapper. The upshot of this is that compiling something
using the binary GHCs no longer depends on PATH being populated with
the tools included in stdenv at all. We can even test this by running
the installCheck with an empty environment (via `env -i`).
2021-11-25 15:42:47 +01:00
sternenseemann
579bc49e94 haskell.compiler.ghc*Binary: don't propagate LLVM, use wrapper
Copy the approach from the normal GHC derivations for adding an
`export PATH` into the scripts in `$out/bin` and use it to put the
specific LLVM version of the binary GHC into its PATH. This will
prevent the LLVM version of the GHC we are building later to take
precedence over the LLVM version this GHC needs.
2021-11-25 14:53:07 +01:00
midchildan
d8338cbe06
fixup! llvmPackages_13.libcxx: fix darwin build
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-11-25 20:20:49 +09:00
midchildan
e157b5dc28
llvmPackages_13.libcxx: fix darwin build 2021-11-25 19:59:17 +09:00
sternenseemann
a6f258f49f Merge remote-tracking branch 'origin/master' into haskell-updates 2021-11-25 09:28:37 +01:00
Vladimír Čunát
d71611fb72
Merge #142792: gcc9: 9.3.0 -> 9.4.0 (into staging) 2021-11-25 09:09:06 +01:00
github-actions[bot]
700540c4fb
Merge staging-next into staging 2021-11-25 00:02:31 +00:00
github-actions[bot]
b244d0edca
Merge master into staging-next 2021-11-25 00:01:54 +00:00
John Ericson
f721e0f849
Merge pull request #145107 from Ericson2314/buildRustCrate-sysroot
build-support/rust: Fix sysroot for cross
2021-11-24 18:44:13 -05:00
toonn
21df776a31 llvmPackages_13.libcxxabi: Align with 11 libcxxabi
LLVM 11 libcxxabi has some flags to support usage in the Darwin stdenv,
in particular, `standalone` and `withLibunwind`.

Darwin stdenv needs the `standalone` flag because its `hostPlatform` set
doesn't have `useLLVM` set to true. And it needs `withLibunwind` to
explicitly disable including `libunwind` as a build input.

We also prefix `install_name_tool` in case we're cross-compiling.
2021-11-24 15:17:13 -08:00
toonn
d90fb1c038 llvmPackages_12.libcxxabi: Align with 11 libcxxabi
LLVM 11 libcxxabi has some flags to support usage in the Darwin stdenv,
in particular, `standalone` and `withLibunwind`.

Darwin stdenv needs the `standalone` flag because its `hostPlatform` set
doesn't have `useLLVM` set to true. And it needs `withLibunwind` to
explicitly disable including `libunwind` as a build input.

We also prefix `install_name_tool` in case we're cross-compiling.
2021-11-24 15:17:13 -08:00
toonn
d964f211f6 llvmPackages_11.libcxxabi: More precise libunwind inclusion 2021-11-24 15:17:13 -08:00
toonn
73d3d0de7f libcxxabi: Use standalone instead of expression
Co-authored-by: Sandro Jäckel <sandro.jaeckel@gmail.com>
2021-11-24 15:17:13 -08:00
toonn
1be8e73fb3 stdenv: libcxxabi dropped standalone in favor of useLLVM
The libcxxabi expression had a `standalone` argument in LLVM 7 which
triggered passing of the `-DLLVM_ENABLE_LIBCXX=ON` flag. In LLVM 11 this
flag and others are toggled by the `useLLVM` attribute of
`stdenv.hostPlatform` but this toggles a flag we don't need on Darwin.

Similar to the refactoring of LLVM 7 libc++abi by Ericson2314 in
3af7e98470, I have reintroduced the standalone argument for use in
bootstrapping the Darwin stdenv.
2021-11-24 15:17:13 -08:00
sternenseemann
b2c2215f60 pkgsMusl.haskell.compiler.ghc884: return accurate platforms 2021-11-24 17:07:57 +01:00
sternenseemann
55b8d8c1bf haskell.compiler.ghc884: re-enable aarch64-linux
Since we inherit the platform list from the bootstrap GHC, we get
differing lists depending on which platform we evaluate the platform
list on (depending on whether 8.10.2 or 8.6.5 is used). This leads to
Hydra thinking aarch64-linux is not supported as it evaluates on
x86_64-linux usually.
2021-11-24 15:14:54 +01:00
sterni
48b60ee86f
Merge pull request #146938 from sternenseemann/ghc901-llvm-9
haskell.compiler: refactor LLVM handling, upgrade to latest LLVM version for each GHC version
2021-11-24 14:50:34 +01:00
sternenseemann
156d8d619c haskell.compiler.*: be clear about LLVM build->target role
Since LLVM itself doesn't depend on target at all, this doesn't change
anything *in effect* (i. e. rebuild count should be zero), but it is
more clear about the intention and what LLVM is used for here (i. e. in
depsBuildTarget).
2021-11-24 13:48:37 +01:00
sternenseemann
b9f1582106 haskell.compiler.ghc865Binary: remove aarch64-linux from platforms
GHC 8.6.5 will always segfault on aarch64-linux and at this point
it's not realistic we'll ever fix this.
2021-11-24 13:28:28 +01:00
github-actions[bot]
fc6ab3024e
Merge master into staging-next 2021-11-24 12:01:20 +00:00
github-actions[bot]
c8f85e70b1
Merge master into haskell-updates 2021-11-24 00:07:29 +00:00
github-actions[bot]
a1d98b162f
Merge master into staging-next 2021-11-23 18:01:10 +00:00
Thiago Kenji Okada
2962edb944 flutter: remove myself from maintainers 2021-11-23 13:26:50 -03:00
sternenseemann
d7ff8061be haskellPackages: always inherit llvmPackages from ghc's passthru
This means we only have to update the llvmPackages attribute in one
place now and should prevent situations like with 8.6.5 where different
versions would be used in the package set compared to the compiler
build.

Drop comments in the configuration-ghc-X.Y.x.nix files as well, since
LLVM version isn't tied to the compiler minor version at
all (e. g. 8.10.2 and 8.10.7 have different support ranges).
2021-11-23 16:46:18 +01:00
sternenseemann
ebf1e16459 sbcl_2_1_10: init at 2.1.10
http://www.sbcl.org/all-news.html#2.1.10
2021-11-23 13:39:28 +01:00
github-actions[bot]
78b670898c
Merge master into staging-next 2021-11-23 12:01:12 +00:00
Domen Kožar
1799f8e87b
Merge pull request #147043 from arkivm/darwin-fixes-ocaml
ocaml: Fix aarch64-darwin build
2021-11-23 10:11:10 +01:00
Domen Kožar
35d670f9c1
Merge pull request #146968 from Hoverbear/shaderc-darwin-libtool
shaderc: include darwin libtool
2021-11-23 10:09:06 +01:00
Jonathan Ringer
4b73049ccc
Merge remote-tracking branch 'origin/staging' into staging-next
Conflicts:
	nixos/tests/custom-ca.nix
2021-11-22 21:33:23 -08:00
github-actions[bot]
67ab731b70
Merge master into haskell-updates 2021-11-23 00:07:39 +00:00
Kevin Cox
dc447918a0
Merge pull request #119444 from lorenzleutgeb/gradle-jdk
gradle: Decouple from JDK 8 and support Java Toolchains
2021-11-22 16:27:10 -05:00
Vikram Narayanan
528716bb8e ocaml: Fix aarch64-darwin build 2021-11-22 12:19:55 -08:00
sternenseemann
fb67ad2eea Merge remote-tracking branch 'origin/master' into haskell-updates 2021-11-22 19:44:23 +01:00
Ana Hobden
bcb0427773 libtool: add meta.platforms and make cctools Darwin only
Signed-off-by: Ana Hobden <operator@hoverbear.org>
2021-11-22 09:42:23 -08:00
Sergei Trofimovich
cda036f189
edk2: pull upstream brotli fix for gcc-11 (#144137)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-11-22 16:40:06 +01:00
Ana Hobden
e86fa71ba6 shaderc: include darwin libtool
Signed-off-by: Ana Hobden <operator@hoverbear.org>
2021-11-21 21:02:04 -08:00
Alexandre Esteves
8c17cc993b ghcHEAD: fix mingw build 2021-11-22 02:49:30 +00:00
Ryan Burns
93e835bd92
Merge pull request #146814 from r-burns/clang-tools-extra
[staging] llvmPackages_{13,git}.clang: build clang-tools-extra
2021-11-21 15:19:52 -08:00
Ryan Burns
93543c69c6
Merge pull request #146855 from trofi/fix-llvm-for-gcc-12
llvm_{5..11}: pull upstream build fix for for gcc-12
2021-11-21 14:43:37 -08:00
Sergei Trofimovich
e9dfe892ef llvm_{5..11}: pull upstream build fix for for gcc-12
Without the fix build fails on gcc-12 as:

    /build/llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp:
      In member function 'std::string llvm::NVPTXAsmPrinter::getPTXFundamentalTypeStr(...':
    /build/llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp:1319:10:
      error: use of deleted function 'std::__cxx11::basic_string<...>; std::nullptr_t = std::nullptr_t]'
     1319 |   return nullptr;
          |          ^~~~~~~

The patch is present in upstream releases since llvm-12.
2021-11-21 09:50:01 +00:00
Ryan Burns
2175b157ac treewide: refactor isi686 && isx86_64 -> isx86 2021-11-20 17:50:41 -08:00
github-actions[bot]
197135904f
Merge staging-next into staging 2021-11-21 00:02:25 +00:00
Ryan Burns
dd8ad828de llvmPackages_{13,git}.clang: build clang-tools-extra
This is already done for previous versions of clang which use
a release tarball, but must be done differently for the more
recent versions which use fetchFromGitHub.

Fixes clang-tools clangd wrapper
2021-11-20 14:29:06 -08:00
Sandro
36e26ce2d6
Merge pull request #146649 from trofi/fix-souffle-for-ncurses-6.3 2021-11-20 19:25:19 +01:00
github-actions[bot]
578939f5e2
Merge staging-next into staging 2021-11-20 18:01:43 +00:00
Vladimír Čunát
e4afe81567
Merge #144935: llvmPackages_7.libcxxabi: fix build with gcc 2021-11-20 16:23:31 +01:00
Bobby Rong
f7a01054e9
vala: 0.54.2 → 0.54.3
https://ftp.gnome.org/pub/GNOME/sources/vala/0.54/vala-0.54.3.news
2021-11-20 22:44:38 +08:00
Vladimír Čunát
83e4222bb6
Merge branch 'staging-next' into staging 2021-11-20 00:06:34 +01:00
Alexander Bantyev
c8f846893c
openjfx11: require-big-parallel 2021-11-19 22:15:35 +03:00
Lorenz Leutgeb
01f4c7ec88 gradle: Decouple gradleGen and JDK 2021-11-19 18:54:25 +01:00
Sergei Trofimovich
e371ffc4a7 souffle: pull pending upstream inclusion fix for ncurses-6.3
Without the fix build on ncurses-6.3 fails as:

    src/include/souffle/provenance/Explain.h:522:18: error: format not a string literal and no format arguments [-Werror=format-security]
      522 |         mvwprintw(queryWindow, 1, 0, prompt.c_str());
          |         ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2021-11-19 17:53:24 +00:00
github-actions[bot]
9747d437c5
Merge staging-next into staging 2021-11-19 00:02:17 +00:00
github-actions[bot]
65ce6cbbdc
Merge master into haskell-updates 2021-11-18 00:08:52 +00:00
github-actions[bot]
6233e02dfd
Merge staging-next into staging 2021-11-18 00:02:15 +00:00
Robert Hensing
9005cb8835
Merge pull request #145841 from l0b0/fix-indentation
Fix indentation
2021-11-18 00:38:59 +01:00
Kevin Cox
4ae4baa724
Merge pull request #146262 from LibreCybernetics/update-kotlin
kotlin{-native}: 1.5.31 → 1.6.0
2021-11-17 17:32:01 -05:00
Sandro
4b60f02c37
Merge pull request #146264 from Stunkymonkey/seexpr-3.0.1 2021-11-17 13:09:42 +01:00
github-actions[bot]
7207f809f9
Merge master into haskell-updates 2021-11-17 00:07:23 +00:00
Felix Buehler
ba5628c2ab seexpr: fmt 2021-11-16 23:39:27 +01:00
Felix Buehler
7c26a80899 seexpr: 2.11 -> 3.0.1 2021-11-16 23:38:59 +01:00
Thiago Kenji Okada
369948117f
Merge pull request #146280 from ilkecan/flutter-passthru-dart
flutter: add passthru.dart
2021-11-16 18:45:34 -03:00
Martin Weinelt
2cc5606c84
Merge pull request #142319 from mweinelt/node2nix 2021-11-16 19:46:17 +01:00
ilkecan
d882c5751b flutter: add passthru.dart 2021-11-16 20:24:31 +03:00
Timo Kaufmann
df7a1fb7f2
Merge pull request #145770 from LibreCybernetics/update-crystal
crystal: 1.2.1 → 1.2.2
2021-11-16 17:42:02 +01:00
Fabián Heredia Montiel
ed97d79de6 kotlin-native: 1.5.31 → 1.6.0 2021-11-16 10:35:42 -06:00
Fabián Heredia Montiel
fadae2575b kotlin: 1.5.31 → 1.6.0 2021-11-16 10:11:10 -06:00
Pavol Rusnak
8c243298c8
Merge pull request #145180 from prusnak/dotnet6
dotnet: make SDK 6.0 default
2021-11-16 16:28:06 +01:00
Pavol Rusnak
1663708500
Merge pull request #142468 from prusnak/dotnet-update
dotnet-sdk_3: 3.1.19 -> 3.1.21 + dotnet-sdk_5: 5.0.10 -> 5.0.12
2021-11-16 16:27:23 +01:00
Martin Weinelt
37fa1e7c1d treewide: pass and inherit writeShellScript in node2nix packages 2021-11-16 16:08:23 +01:00
Claudio Bley
57ed744c05
roslyn: Update dependencies
and do not add nuget.build.tasks.pack

```
/build/source/src/NuGet/Microsoft.Net.Compilers.Toolset/Microsoft.Net.Compilers.Toolset.Package.csproj : error NU1100: Unable to resolve nuget.build.tasks.pack (>= 5.10.0-preview.2.7169)' for '.NETCoreApp,Version=v3.1'.
/build/source/src/NuGet/Microsoft.Net.Compilers.Toolset/Microsoft.Net.Compilers.Toolset.Package.csproj : error NU1100: Unable to resolve 'nuget.build.tasks.pack (>= 5.10.0-preview.2.7169)' for '.NETFramework,Version=v4.7.2'.
```
2021-11-16 15:54:20 +01:00
Pavol Rusnak
c94cfb48df
dotnetCorePackages.*_5*: 5.0.10 -> 5.0.12 2021-11-16 10:44:00 +01:00
Pavol Rusnak
a018a794de
dotnetCorePackages:*_3_1: 3.1.19 -> 3.1.21 2021-11-16 10:44:00 +01:00
pinn3
f1c1835311 fennel: 0.10.0 -> 1.0.0
https://git.sr.ht/~technomancy/fennel/tree/1.0.0/changelog.md#100--2021-11-14

Resolves #146076
2021-11-16 02:35:49 +01:00
github-actions[bot]
dff04bfc94
Merge master into haskell-updates 2021-11-16 00:07:30 +00:00
Rick van Schijndel
e31f392946 llvm_13: fix cross-compilation
apply the same fix as used in 517d2b963f
2021-11-16 00:42:58 +01:00
sternenseemann
debf4fc929 gnat: 9 -> 11
Update the default GNAT version from 9 to 11, as GNAT >= 11 is required
to compile the 22.* AdaCore libraries.

To allow this, we need to pick a patch from ghdl's master fixing a
compilation problem with GNAT 11.
2021-11-15 22:41:56 +01:00
sternenseemann
e8f9f6efb6 haskell.compiler.ghcjs: fix evaluation regression
The treewide change 8547db919a was done
incorrectly for ghcjs. This hasn't been noticed so far due to a lack of
CI.
2021-11-15 21:03:33 +01:00
sternenseemann
c28ddd3fd5 haskell.compiler.ghcHEAD: 9.3.20210913 -> 9.3.20211111 2021-11-15 21:01:17 +01:00
R. Ryantm
4e7dda04cc vala_0_52: 0.52.6 -> 0.52.7 2021-11-15 16:31:20 +01:00
R. Ryantm
d8caf2d2e7 qbe: unstable-2021-10-28 -> unstable-2021-11-10 2021-11-15 12:42:26 +00:00
sternenseemann
2f78a2d3a3 Merge remote-tracking branch 'origin/master' into staging-next 2021-11-14 16:26:44 +01:00
Domen Kožar
07715e7876
Merge pull request #145128 from prusnak/ghc-921-aarch64-darwin
haskell.compiler.ghc{901,921,HEAD}: fix aarch64-darwin build
2021-11-14 08:43:48 -06:00
github-actions[bot]
bc35dc4f3b
Merge master into staging-next 2021-11-14 12:01:23 +00:00
Sandro
5cb226a06c
Merge pull request #144794 from revol-xut/master 2021-11-14 11:40:46 +01:00
Victor Engmark
57b496ea98 misc: Replace tab indentation with spaces
I've tried to be consistent, using four or eight spaces to line up
with existing code.
2021-11-14 16:04:46 +13:00
Sergei Trofimovich
db9590c0b8 dev86: explicitly disable build parallelism due to missing depends 2021-11-13 21:41:51 +00:00
Fabián Heredia Montiel
2b77566cb6 crystal: 1.2.1 → 1.2.2 2021-11-13 10:03:42 -06:00
sternenseemann
1a1e32f023 Merge remote-tracking branch 'origin/master' into staging-next
Conflicts were caused by 2043dbb6fa
interacting with b2767b69dd.
2021-11-13 12:35:55 +01:00
revol-xut
c7f2520b2a maintainers: add revol-xut 2021-11-13 11:42:10 +01:00
Thomas Wu
aa5f565899
Add "arrch64-darwin" to badPlatforms
Aarch64-darwin is not supported for chez.
2021-11-13 16:10:11 +08:00
github-actions[bot]
4535cfe0ab
Merge master into staging-next 2021-11-12 12:01:10 +00:00
Maximilian Bosch
f1eaf396be
Merge pull request #143552 from r-ryantm/auto-update/binaryen
binaryen: 101 -> 102
2021-11-12 11:46:32 +01:00
github-actions[bot]
9a30ed0017
Merge master into staging-next 2021-11-12 06:01:24 +00:00
github-actions[bot]
8addf990da
Merge master into haskell-updates 2021-11-12 00:07:24 +00:00
github-actions[bot]
f2d7271432
Merge master into staging-next 2021-11-11 18:01:13 +00:00
Sandro
d73feaf03e
Merge pull request #145311 from lionello/fix-ldc-aarch64-darwin 2021-11-11 13:07:25 +01:00
github-actions[bot]
c5b522e351
Merge master into staging-next 2021-11-11 12:01:26 +00:00
Vincent Laporte
87843991ef ocaml: fix assembler on darwin 2021-11-11 11:30:19 +01:00
revol-xut
3e74c1002d lingua-franca: init with 0.1.0 2021-11-11 08:44:09 +01:00
github-actions[bot]
07e8aeb3a0
Merge master into haskell-updates 2021-11-11 00:07:11 +00:00
github-actions[bot]
b199af176d
Merge master into staging-next 2021-11-11 00:01:45 +00:00
Felix Bühler
f5c12e8311
treewide: replace '-git' packages with 'unstable-' in version (#145396) 2021-11-10 16:21:47 -05:00
Sandro
7b90eb5d8f
Merge pull request #145086 from SuperSandro2000/go 2021-11-10 21:27:15 +01:00
github-actions[bot]
259e08cd22
Merge master into staging-next 2021-11-10 18:01:21 +00:00
Martin Povišer
b50d43cc94 yosys: remove pointless patching
This fixes the patch introduced in:

  94a047ca74 (yosys: fix build on darwin, 2021-11-09)

Because we supply yosys with an external build of ABC, the patched
ABCMKARGS variable is without influence. Even if we were building with
in-tree ABC, that part of the patch is wrong, so drop it altogether.
2021-11-10 14:25:59 +01:00
Pavol Rusnak
a57f864975
carp: 0.5.0 -> 0.5.3 (#145281)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-11-10 13:39:51 +01:00
github-actions[bot]
84d856a651
Merge master into staging-next 2021-11-10 12:01:22 +00:00
xaverdh
03a257e5a3
treewide: quote urls according to rfc 0045 (#145260)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-11-10 11:37:56 +01:00
Lionello Lunesu
dbcbf26250 ldc-bootstrap: 1.19.0 -> 1.25.0
This also enables building on aarch64-darwin.
2021-11-09 21:56:30 -08:00
github-actions[bot]
da2c9c6eab
Merge master into haskell-updates 2021-11-10 00:07:08 +00:00
Pavol Rusnak
155b7f0114
haskell.compiler.ghcHEAD: apply autoSignDarwinBinariesHook 2021-11-09 20:30:08 +01:00
github-actions[bot]
7414a16ee5
Merge master into staging-next 2021-11-09 18:01:23 +00:00
Martin Povišer
94a047ca74 yosys: fix build on darwin
Attempt to work around a confusion in yosys' build system that causes
builds under clang to fail.
2021-11-09 14:10:19 +01:00
Pavol Rusnak
3b9e94dc6c
haskell.compiler.ghc901: fix aarch64-darwin build
by applying autoSignDarwinBinariesHook
2021-11-09 12:23:43 +01:00
Pavol Rusnak
044e860242
haskell.compiler.ghc921: fix aarch64-darwin build
by applying autoSignDarwinBinariesHook
2021-11-09 12:23:43 +01:00
Pavol Rusnak
15db090295
dotnet: make SDK 6.0 default
should not cause any trouble since all packages should use pinned
versions via either of these:
- `dotnet-sdk = dotnetCorePackages.sdk_5_0`
- `dotnet-sdk_5`
2021-11-09 11:49:04 +01:00
Pavol Rusnak
2bcc4707e8
dotnet: introduce print-hashes script 2021-11-09 11:49:03 +01:00
github-actions[bot]
5b18be2de0
Merge master into staging-next 2021-11-09 06:01:07 +00:00
Moises Nessim
2248e8c1d0 dotnetCorePackages: 6.0.0-rc.2 -> 6.0 2021-11-08 21:01:28 -05:00
github-actions[bot]
e1766085b3
Merge master into haskell-updates 2021-11-09 00:10:05 +00:00
github-actions[bot]
707b006bf7
Merge master into staging-next 2021-11-09 00:01:30 +00:00
John Ericson
2c7f62379f rustcSrc: Reduce duplication 2021-11-08 20:38:58 +00:00
Sandro Jäckel
32ef30ce24
go_1_17: 1.17.2 -> 1.17.3 2021-11-08 17:25:40 +01:00
Pavol Rusnak
4c5fbc98d2
gcc-arm-embedded-{9,10}: enable on aarch64-darwin
(using x86_64-darwin binaries, these can be run if rosetta is installed)
2021-11-08 17:04:15 +01:00
Pavol Rusnak
8ea8557955
gcc-arm-embedded-10: 10.3-2021.07 -> 10.3-2021.10 2021-11-08 17:02:20 +01:00
github-actions[bot]
b0e58bafbe
Merge master into haskell-updates 2021-11-08 00:07:25 +00:00
John Ericson
4f81865aa1 Merge remote-tracking branch 'upstream/master' into staging-next 2021-11-07 20:51:04 +00:00
John Ericson
18ed048c7b build-support/rust: Organize
- `toRustTarget` and friends pulled out from rust tools into rust
   library. Since they don't depend on any packages they can be more
   widely useable.

 - `build-rust-package` gets its own directory

 - `fetch-cargo-tarball` gets its own directory
2021-11-07 14:16:49 -05:00
Ellie Hermaszewska
15ae25f36c
haskell: switch from haskell.lib to haskell.lib.compose 2021-11-07 20:18:45 +08:00
github-actions[bot]
1093ddf273
Merge master into staging-next 2021-11-07 06:01:02 +00:00
Ryan Burns
5d043aa517
Merge pull request #137553 from dguibert/dg/cudatoolkit
update cudatoolkit (11.3/11.4), cuddn and cutensor
2021-11-06 17:17:12 -07:00
github-actions[bot]
9166210176
Merge master into staging-next 2021-11-07 00:01:38 +00:00
Ryan Burns
3f90cde719 llvmPackages_7.libcxxabi: fix build with gcc
Unblocks 17 dependers on aarch64-linux
2021-11-06 15:03:13 -07:00
Domen Kožar
2606cb0fc2
Merge pull request #144644 from r-burns/go
go_1_17: enable on x86_64-darwin
2021-11-06 13:48:14 -06:00
github-actions[bot]
a41ea4ced3
Merge master into staging-next 2021-11-06 06:01:07 +00:00
Alyssa Ross
02dfbde639
treewide: use mirror URLs where available
Candidates identified with

	git grep -F "$(grep -v '#' pkgs/build-support/fetchurl/mirrors.nix |
		grep -v nixos.org | grep :// | cut -d '"' -f 2)"

and then manually reviewed and tested.
2021-11-06 01:56:39 +00:00
github-actions[bot]
2663e5b623
Merge master into staging-next 2021-11-05 12:01:17 +00:00
Vladimír Čunát
555a4016a2
Merge branch 'staging-next' into staging 2021-11-05 10:48:58 +01:00
Dennis Gosnell
4269070d94
Merge pull request #142641 from NixOS/haskell-updates
haskellPackages: update stackage and hackage
2021-11-05 15:41:57 +09:00
Bernardo Meurer
f140680724
Merge pull request #144671 from andersk/LD_LIBRARY_PATH
treewide: Fix unsafe concatenation of $LD_LIBRARY_PATH, round 2
2021-11-04 19:38:39 -07:00
github-actions[bot]
ab4eda8513
Merge master into haskell-updates 2021-11-05 00:07:13 +00:00
Anders Kaseorg
e12f4db556 treewide: Fix unsafe concatenation of $LD_LIBRARY_PATH, round 2
Naive concatenation of $LD_LIBRARY_PATH can result in an empty
colon-delimited segment; this tells glibc to load libraries from the
current directory, which is definitely wrong, and may be a security
vulnerability if the current directory is untrusted.  (See #67234, for
example.)  Fix this throughout the tree.

Followup to #76804.  Fixes #144646.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2021-11-04 16:15:05 -07:00
Ryan Burns
e1fad6fc50 go_1_17: enable on x86_64-darwin
Apparently this does not depend on stdenv's macOS SDK at all,
and carries around its own go-specific toolchain. So this works
fine as-is and doesn't need any changes in Nixpkgs to support a
10.13 deployment target.
2021-11-04 15:40:44 -07:00
github-actions[bot]
cca97be2f0
Merge staging-next into staging 2021-11-04 12:01:39 +00:00
Robert Hensing
3bccce68d1
Merge pull request #144440 from SuperSandro2000/lib-fromJSON
treewide: switch ``builtins.fromJSON(builtins.readFile ./file.json)``…
2021-11-04 12:17:40 +01:00
github-actions[bot]
50c285059f
Merge master into haskell-updates 2021-11-04 00:07:05 +00:00
github-actions[bot]
3567177949
Merge staging-next into staging 2021-11-03 18:10:58 +00:00
Anderson Torres
dec4cce188
Merge pull request #144485 from AndersonTorres/new-asm
asl: fix the expression
2021-11-03 14:40:03 -03:00
AndersonTorres
c70a27d607 asl: fix the expression 2021-11-03 13:33:56 -03:00
Fabián Heredia Montiel
f5095d575c kotlin-native: add fabianhjr as maintainer 2021-11-03 09:58:15 -06:00
Fabián Heredia Montiel
638daf8c90 kotlin-native: remove /bin/kotlinc
This is the only collision with the default kotlin distribution and is
marked as deprecated and to be removed upstream.

```
> kotlinc
NOTE: you are running "kotlinc" CLI tool from Kotlin/Native distribution,
it runs Kotlin/Native compiler that produces native binaries from Kotlin code.
If your intention was to compile Kotlin code to JVM bytecode instead, then you
need to use "kotlinc" from the main Kotlin distribution (e.g. it can be
downloaded as kotlin-compiler-X.Y.ZZ.zip archive from
https://github.com/JetBrains/kotlin/releases/latest, or installed using various
package managers).

WARNING: if your intention was to run Kotlin/Native compiler, then please use
"kotlinc-native" CLI tool instead of "kotlinc". "kotlinc" tool will be removed
from Kotlin/Native distribution, so it will stop clashing with "kotlinc" from
the main Kotlin distribution.
```
2021-11-03 09:57:36 -06:00
Sandro Jäckel
8547db919a
treewide: switch `builtins.fromJSON(builtins.readFile ./file.json)` to lib.importJSON ./file.json 2021-11-03 14:43:52 +01:00
Alyssa Ross
703ffa2f5d
Merge remote-tracking branch 'nixpkgs/staging-next' into staging 2021-11-03 07:34:33 +00:00
superherointj
df4fac48fc maintainers: remove superherointj 2021-11-02 18:22:31 -07:00
github-actions[bot]
890e555b52
Merge master into haskell-updates 2021-11-03 00:07:04 +00:00
Martin Weinelt
8f5da907b0 Merge remote-tracking branch 'origin/staging-next' into staging 2021-11-02 23:31:28 +01:00
Martin Weinelt
b47fcee2a5
Merge pull request #144219 from mweinelt/firefox 2021-11-02 23:31:13 +01:00
Anderson Torres
53cd7a5b81
Merge pull request #144167 from AndersonTorres/new-asm
asl: init at 142-bld211
2021-11-02 18:57:27 -03:00
sternenseemann
cf8d67294b Merge remote-tracking branch 'origin/master' into haskell-updates 2021-11-02 20:53:34 +01:00
Martin Weinelt
c28e3f9d00
rustc: Expose llvmPackages set used to build rustc
Reusing the same llvmPackages version used for building rustc is
required for LTO in Firefox.
2021-11-02 17:34:05 +01:00
Martin Weinelt
3f9b49e0ec
rust_1_45: drop 2021-11-02 14:41:05 +01:00
Fabián Heredia Montiel
38ff77cfbb scala_2_13: 2.13.6 → 2.13.7 2021-11-02 09:15:50 -04:00
Artturi
5734f0bfb0
Merge pull request #143622 from r-ryantm/auto-update/dictu
dictu: 0.20.0 -> 0.22.0
2021-11-02 14:40:33 +02:00
sternenseemann
b0f72c142c Merge remote-tracking branch 'origin/master' into haskell-updates 2021-11-02 11:44:15 +01:00
Sandro
fb5f7b9841
Merge pull request #144204 from alyssais/rust-1.56.1 2021-11-02 10:53:03 +01:00
AndersonTorres
2b6ba95a19 asl: init at 142-bld211 2021-11-01 21:20:50 -03:00
github-actions[bot]
c7d6bf7b5b
Merge master into haskell-updates 2021-11-02 00:06:59 +00:00
github-actions[bot]
3f03065e05
Merge staging-next into staging 2021-11-02 00:02:12 +00:00
github-actions[bot]
d27dd6653e
Merge master into staging-next 2021-11-02 00:01:32 +00:00
github-actions[bot]
83d6b7a7e0
Merge staging-next into staging 2021-11-01 18:01:40 +00:00
github-actions[bot]
bd0051cd54
Merge master into staging-next 2021-11-01 18:01:02 +00:00
Bernardo Meurer
949c9f67cd
makeRustPlatform: allow to easily override stdenv 2021-11-01 10:40:09 -07:00
Alyssa Ross
222e9b518f
rust: 1.56.0 -> 1.56.1
I've tested building fd on x86_64-linux.  Because this release is so
tiny[1], I'm confident skipping the usual, bigger, tests we do for
Rust.

[1]: https://github.com/rust-lang/rust/compare/1.56.0...1.56.1
2021-11-01 16:23:30 +00:00
R. Ryantm
7d434ce31c qbe: unstable-2021-10-26 -> unstable-2021-10-28 2021-11-01 01:24:39 +00:00