Commit Graph

9369 Commits

Author SHA1 Message Date
James Fleming
7485a007d9 sbcl: Remove substitution of mmacosx-verson-min
This substition produces a nixos-build error, because the target string
was removed in commit 323891ea5964d54aba2d272ddddbf748ce353176 in 2018.

Remove the substition from the `postPatch` phase of `sbcl/common.nix`.
2021-02-20 11:42:39 +01:00
James Fleming
6aa7dbe161 sbcl: Remove substution of 'gcc' with 'cc'
This substitution produces a nix-build warning, because the target
string was removed in commit 7b225df9a492977b8fff0948ce93c5ab31766f64
in 2016.

Remove the substition from the `postPatch` phase in `sbcl/common.nix`.
2021-02-20 11:42:25 +01:00
Ryan Burns
f74c281386 gcc: don't disable decimal-float when cross-compiling
This causes some minor ugliness during stdenv bootstrap on powerpc64le
using cross-compiled bootstrap tools. MPFR wants to use decimal floats
by default so they have to be manually disabled in the configure flags
when using cross-compiled bootstrap tools.

The lineage of this particular configure flag traces back to 2010 (!)
It was added in commit: 9b1d5353a9
I've built various cross bootstrap tools and they seem to work fine,
so I don't think this is needed anymore.
2021-02-19 18:42:25 -08:00
github-actions[bot]
abe7db36a4
Merge staging-next into staging 2021-02-20 00:36:40 +00:00
zowoq
a86974cf90 go_1_14: set knownVulnerabilities
Support for Go 1.14 ended with the release of Go 1.16: https://golang.org/doc/devel/release.html#policy
2021-02-20 08:09:59 +10:00
Ryan Burns
9511f29f40 go: fix cross-compilation
Because:

* `go-bootstrap` is a native build input of go, so it needs to have
  an offset of -1. Otherwise, e.g. when building a go cross-compiler,
  it will try to make go-bootstrap a cross-compiler too.
* have to specify `buildPackages` for the `stdenv` override, otherwise
  `buildPackages.stdenv` will be the same as `pkgs.gcc8Stdenv`.
2021-02-20 08:09:42 +10:00
Ivan Babrou
6fff56280f go: do not strip bootstrap on darwin 2021-02-20 08:09:42 +10:00
Ivan Babrou
cf69b3e801 go: use binary bootstrap for all platforms
This mirrors what Rust does and allows us to drop go1.4 from the process.
2021-02-20 08:09:42 +10:00
Sandro
41edfe8c20
Merge pull request #113295 from siraben/cc-eq-cc 2021-02-19 19:25:41 +01:00
github-actions[bot]
daab056dd9
Merge staging-next into staging 2021-02-19 18:16:58 +00:00
Ben Siraphob
4b2c44c0a7 treewide: drop conditional makeFlag for darwin when specifiying cross-compiler 2021-02-20 01:02:08 +07:00
Ben Siraphob
223f25cf4a treewide: add targetPrefix to hardcoded references to CC=cc 2021-02-20 01:01:46 +07:00
superwhiskers
c90d8b8242
carp: 0.3.0 -> 0.5.0 (#113376) 2021-02-19 18:51:52 +01:00
Ben Siraphob
e03c068af5 treewide: makeWrapper buildInputs to nativeBuildInputs 2021-02-19 20:09:16 +07:00
zowoq
3dab057264 Merge staging-next into staging 2021-02-19 10:47:46 +10:00
Sandro
6231ed4455
Merge pull request #110631 from ggreif/llvm-11.1
llvmPackages_11: 11.0.1 -> 11.1.0
2021-02-18 22:21:29 +01:00
Sandro
05b0e49fd9
Merge pull request #107784 from taku0/jdk_gtk_look_and_feel 2021-02-18 14:21:14 +01:00
Gabor Greif
3468130c1e llvmPackages_11: 11.1.0rc2 -> 11.1.0 2021-02-18 13:11:24 +01:00
taku0
26fb8f9110 graalvm11-ce, graalvm8-ce: add support for GTK+ Look and Feel 2021-02-18 20:07:04 +09:00
taku0
032b5cd156 graalvm11-ce, graalvm8-ce: add support for Swing apps
Adds needed libraries with `autoPatchelfHook`.  This ensures required
libraries are linked for future.
2021-02-18 20:07:04 +09:00
taku0
20b4ec5151 zulu8: add support for GTK+ Look and Feel 2021-02-18 20:07:04 +09:00
taku0
6e3d7fbb7c zulu: add support for GTK+ Look and Feel 2021-02-18 20:07:03 +09:00
taku0
714eca6967 adoptopenjdk-bin: add support for GTK+ Look and Feel 2021-02-18 20:07:03 +09:00
Peter Hoeg
53ea6aee81 crystal: 0.36 -> 0.36.1 2021-02-18 09:11:23 +00:00
Guillaume Girol
009d4570d8
Merge pull request #112939 from symphorien/musl32cross
pkgsCross.musl32: fix a few basic package
2021-02-18 06:44:49 +00:00
Jörg Thalheim
236b56c94d
Merge pull request #113193 from danieldk/cargo-install-hook 2021-02-18 00:02:03 +00:00
Gabor Greif
63037b0348 llvmPackages_11: 11.0.1 -> 11.1.0rc2 2021-02-17 21:56:15 +01:00
github-actions[bot]
9d6726a2e3
Merge staging-next into staging 2021-02-17 18:14:09 +00:00
Daniël de Kok
2376921de5 rls: update preBuild for changes in buildRustPackage
preBuild is now run before changing to buildAndTestSubdir, so use full
path to tests/client.rs in preBuild.
2021-02-17 16:47:15 +01:00
Sandro
f2a3e7cc94
Merge pull request #113369 from siraben/microscheme-xcompile 2021-02-17 13:35:00 +01:00
github-actions[bot]
41b30ed9a6
Merge staging-next into staging 2021-02-17 12:20:08 +00:00
James Fleming
89d4504939 sbcl: Small fixes around the phase definitions
- Remove some debugging output at the start of the `patchPhase` section,
  which appears to have outlived its value.
- Rename `patchPhase` to `postPatch`, to avoid preventing people adding
  patches via the `patches` variable.
- Add `preBuild` and `postBuild` run-hooks to the `buildPhase` section.
- Add `preInstall` and `postInstall` run-hooks to the `installPhase`
  section.
2021-02-17 11:12:47 +01:00
Ben Siraphob
f40849784a microscheme: refactor, fix build on darwin and cross-compilation 2021-02-17 15:50:52 +07:00
Daniël de Kok
58674cfe7e
Merge pull request #113234 from Trundle/ponyc-0.38.3
ponyc: 0.38.1 -> 0.38.3
2021-02-17 09:04:17 +01:00
github-actions[bot]
cd9df16806
Merge staging-next into staging 2021-02-17 06:14:55 +00:00
Thiago Kenji Okada
194c1f6aae graalvm-ce: fix irb in Linux 2021-02-16 23:24:52 -03:00
Thiago Kenji Okada
9e8e2eff2d graalvm-ce: 20.3.0 -> 21.0.0 2021-02-16 23:24:52 -03:00
github-actions[bot]
3e0ef2752a
Merge staging-next into staging 2021-02-17 00:36:34 +00:00
Sandro
bb89d878cf
Merge pull request #113297 from sternenseemann/sbcl-refactor
sbcl: deduplicate nix expression for all versions
2021-02-17 01:15:28 +01:00
Sandro
0d07997538
Merge pull request #113285 from siraben/flasm-xcompile
flasm: fix cross-compilation
2021-02-17 00:40:57 +01:00
Sandro
ee84a81721
Merge pull request #113283 from siraben/miranda-xcompile
miranda: fix cross-compilation
2021-02-17 00:39:49 +01:00
Colin L Rice
9eb88a2e1d go_1_16: init at 1.16
Changes are minor - I ended up just patching the ssl certs at the root
file, rather than trying to keep up with the various darwin changes.

The externalnetwork test helper location changed, to so I had to update
that patch as well.

- Add xcbuild as propagatedBuildInput on darwin 7e25bdba5e
2021-02-17 06:30:32 +10:00
Andreas Stührk
f5ccc3e5fe ponyc: Replace URI literals 2021-02-16 19:57:07 +01:00
Andreas Stührk
8f655e2d50 ponyc: 0.38.1 -> 0.38.3
New upstream release. Also switched from libressl to openssl because it
makes using the net_ssl package easier.
2021-02-16 19:56:21 +01:00
github-actions[bot]
063e642108
Merge staging-next into staging 2021-02-16 12:20:07 +00:00
sternenseemann
5a13d561ff sbcl: refactor nix expression for all versions
The sbcl version specific nix expressions were an exact copy of each
other with the version and hash swapped out, leading to unnecessary code
duplication. This has been resolved by moving the common expression to
common.nix and only tracking version and hash in the version specific
expressions.

Since the expression is unchanged, this should cause 0 rebuilds.
2021-02-16 12:17:47 +01:00
Ben Siraphob
e2b451fa8a flasm: fix cross-compilation 2021-02-16 16:35:04 +07:00
Ben Siraphob
321cf71d34 miranda: fix cross-compilation 2021-02-16 16:28:26 +07:00
Daniël de Kok
b65dfb342c
Merge pull request #113107 from danieldk/remove-ancient-cudas
cudatoolkit-{6,6_5,7,7_5,8}: remove
2021-02-16 08:47:52 +01:00
Daniël de Kok
05e40e79a8 buildRustPackage: factor out check phase to cargoCheckHook
API change:

`cargoParallelTestThreads` suggests that this attribute sets the
number of threads used during tests, while it is actually a boolean
option (use 1 thread or NIX_BUILD_CORES threads). In the hook, this
is replaced by a more canonical name `dontUseCargoParallelTests`.
2021-02-16 08:09:15 +01:00
github-actions[bot]
584d8cf939
Merge staging-next into staging 2021-02-16 00:36:47 +00:00
Anderson Torres
ddf094788f
Merge pull request #113150 from AndersonTorres/new-ophis
ophis: init at 2019-04-13
2021-02-15 16:21:33 -03:00
AndersonTorres
d4f220e56e ophis: init at 2019-04-13 2021-02-15 15:41:16 -03:00
github-actions[bot]
e88fb2d10c
Merge staging-next into staging 2021-02-15 18:17:10 +00:00
zowoq
d9be3c767c
go_bootstrap: remove top-level attribute (#113113)
this package should only be used internally for go_*
2021-02-15 10:06:35 -08:00
Daniël de Kok
9757c7101a buildRustPackage: factor out install phase to cargoInstallHook 2021-02-15 12:17:18 +01:00
github-actions[bot]
056f697397
Merge staging-next into staging 2021-02-14 18:16:17 +00:00
Jörg Thalheim
b5b47d6445
Merge pull request #112804 from danieldk/cargo-build-hook 2021-02-14 18:08:26 +00:00
Daniël de Kok
3c815cf0e6 cudatoolkit-{6,6_5,7,7_5,8}: remove
Remove ancient CUDA toolkits (and corresponding CuDNN versions):

- Not supported by upstream anymore.
- We do not use them in nixpkgs.
- We do not test or actively maintain them.
- Anything but ancient GPUs is supported by newer toolkits.
2021-02-14 11:58:00 +01:00
James Fleming
a01fa0276d sbcl: add 2.1.1 2021-02-14 10:49:01 +01:00
Finn Behrens
70dd7b038b
rust: 1.49.0 -> 1.50.0 2021-02-14 10:28:40 +01:00
github-actions[bot]
4581c55d85
Merge staging-next into staging 2021-02-14 06:16:32 +00:00
Bernardo Meurer
aaf0a68d81
Merge pull request #112648 from danieldk/cuda-update
cudatoolkit_11, cudnn_cudatoolkit_11: 11.1 -> 11.2
2021-02-14 05:44:24 +00:00
Austin Seipp
142760c9fd
yosys: 0.9+3830 -> 0.9+3905
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2021-02-13 21:16:03 -06:00
github-actions[bot]
45fadd9b7f
Merge staging-next into staging 2021-02-14 00:37:59 +00:00
Terin Stock
860a644e0d go_1_15: 1.15.7 -> 1.15.8 2021-02-14 07:40:21 +10:00
Terin Stock
54772e7670 go_1_14: 1.14.14 -> 1.14.15 2021-02-14 07:40:21 +10:00
github-actions[bot]
1e189fbb9e
Merge staging-next into staging 2021-02-13 06:16:37 +00:00
Mario Rodas
4dfe627bfe
Merge pull request #112958 from r-ryantm/auto-update/owl-lisp
owl-lisp: 0.1.23 -> 0.2
2021-02-12 23:42:24 -05:00
Ryan Mulligan
ed5f7f7bc7
Merge pull request #112812 from r-ryantm/auto-update/mlkit
mlkit: 4.5.6 -> 4.5.7
2021-02-12 19:40:29 -08:00
Sandro
1b64cb0952
Merge pull request #112950 from SuperSandro2000/fix-collection11 2021-02-13 03:31:41 +01:00
Mario Rodas
cc551b204a owl-lisp: enable on darwin 2021-02-12 20:31:00 -05:00
R. RyanTM
2197c95222 owl-lisp: 0.1.23 -> 0.2 2021-02-13 01:30:58 +00:00
github-actions[bot]
c4d734932d
Merge staging-next into staging 2021-02-13 00:36:15 +00:00
Sandro Jäckel
5bf5284c21
yosys: mark broken on darwin 2021-02-13 01:07:42 +01:00
Symphorien Gibol
d68dee04b7 gcc: fix cross compilation to musl32 2021-02-12 21:11:16 +01:00
Walter Franzini
733d24b50b add stackprotector support on musl32
In order to support stackprotector on musl32, this change import a
couple of patches from alpinelinux:
1. libssp_nonshared.a is built alongside musl's libc
2. the above library is automatically linked when compiling with gcc6
   or gcc7
2021-02-12 21:11:16 +01:00
(cdep)illabout
b0a16b29e2 haskell.compiler.ghc8104: add ghc-8.10.4 2021-02-12 20:35:21 +01:00
github-actions[bot]
53c1035b44
Merge staging-next into staging 2021-02-12 12:20:24 +00:00
Emery Hemingway
35e12d8343 Revert "llvm_11: patch to recognize Genode platform triples"
Pushed to the wrong remote :(

This reverts commit 9ddb9c0021.
2021-02-12 10:16:55 +01:00
Emery Hemingway
9ddb9c0021 llvm_11: patch to recognize Genode platform triples
This patch does not add Genode support to the Clang frontend or
LLVM runtime libraries, only the LLVM code generator and optimizer.
2021-02-12 10:12:41 +01:00
Michael Raskin
c1b9e4c852
Merge pull request #112718 from purcell/ecl-21
ecl: 20.4.24 -> 21.2.1, enable Darwin
2021-02-12 08:42:58 +00:00
Daniël de Kok
160cf87086 rustPlatform.maturinBuildHook: init
This build hook can be used to build Python packages using maturin.
2021-02-12 08:40:43 +01:00
Steve Purcell
5b65668814 ecl: prefer fetchpath to fetchurl where appropriate 2021-02-12 14:55:46 +13:00
Ryan Burns
f2ac16ec28 gcc: support -m32 on ppc64le
This is needed to build grub2 for powerpc64le hosts. Running powerpcle code
on powerpc64le is somewhat analogous to running multiarch i686 code on x86_64,
so it's also useful to have in general.
2021-02-11 17:33:24 -08:00
R. RyanTM
4c3921d6ee mlkit: 4.5.6 -> 4.5.7 2021-02-11 19:43:27 +00:00
Daniël de Kok
a8efb2053f buildRustPackage: factor out build phase to cargoBuildHook
- API change: remove the `target` argument of `buildRustPackage`, the
  target should always be in sync with the C/C++ compiler that is used.

- Gathering of binaries has moved from `buildPhase` to `installPhase`,
  this simplifies the hook and orders this functionality logically
  with the installation logic.
2021-02-11 20:00:12 +01:00
github-actions[bot]
7b1453f784
Merge staging-next into staging 2021-02-11 12:20:13 +00:00
Domen Kožar
576f60806b
Merge pull request #112457 from avh4/elm-format-0.8.5
elm-format: 0.8.4 -> 0.8.5
2021-02-11 11:52:41 +00:00
Domen Kožar
d319653076
Merge pull request #112160 from turboMaCk/elm-packages-updates
elmPackages: updates with node2nix 1.9.0
2021-02-11 11:51:45 +00:00
taku0
e84d44355b
Merge pull request #110821 from asbachb/update/openjdk/11
openjdk: 11.0.9+11 -> 11.0.10+9
2021-02-11 19:32:27 +09:00
Jörg Thalheim
674bfaf5e5
Merge pull request #112500 from danieldk/cargo-setup-hook 2021-02-11 09:41:40 +00:00
Steve Purcell
8628c90296 ecl: 20.4.24 -> 21.2.1, enable Darwin
- Incorporates the latest upstream release
- Removes now-defunct patches
- Enable builds on non-Linux Unixes, ie. Darwin
2021-02-11 18:02:40 +13:00
Daniël de Kok
18b5919d81 cudatoolkit_11: cudatoolkit_11_1 -> cudatoolkit_11_2 2021-02-10 13:28:53 +01:00
Daniël de Kok
8e7955e5bf cudatoolkit_11_2: init at 11.2.1 2021-02-10 13:21:56 +01:00
Eduardo Sánchez Muñoz
5def007f40 ghdl-yosys: 2021.01.01 -> 2021.01.25 2021-02-10 10:16:38 +01:00
Eduardo Sánchez Muñoz
be7906e6ee ghdl: unstable-2021.01.14 -> 1.0.0 2021-02-10 10:16:38 +01:00
Sandro
7e38fd1135
Merge pull request #112585 from fgaz/lobster/2020-12-25 2021-02-10 09:19:55 +01:00
Sandro
42147842f6
Merge pull request #112576 from fgaz/qbe/2020-10-05
qbe: unstable-2019-07-11 → unstable-2020-10-05
2021-02-10 09:19:23 +01:00
Daniël de Kok
d083f412fa buildRustPackage: factor out setting up .cargo/config to cargoSetupHook
This makes it possible to reuse this functionality as a hook in
derivations that do not use buildRustPackage.
2021-02-10 07:01:24 +01:00
Benjamin Asbach
8d13914346 openjdk: 11.0.9+11 -> 11.0.10+9 2021-02-09 16:09:32 -06:00
Francesco Gazzetta
992ce81d94 lobster: unstable-2020-10-04 -> unstable-2020-12-25 2021-02-09 22:21:24 +01:00
Francesco Gazzetta
8a1e4e72a7 lobster: fix unstableGitUpdater call
unstableGitUpdater can't get the url from fetchFromGitHub
2021-02-09 22:20:08 +01:00
Francesco Gazzetta
ba980c778f qbe: unstable-2019-07-11 → unstable-2020-10-05 2021-02-09 19:54:57 +00:00
Aaron VonderHaar
bdf0239c3f elm-format: simplify the nix expression 2021-02-09 11:27:30 -08:00
Aaron VonderHaar
c16cecdcd6 Add maintainer: avh4 2021-02-09 00:21:28 -08:00
Aaron VonderHaar
4fe4118598 elm-format: 0.8.4 -> 0.8.5 2021-02-08 20:22:39 -08:00
Mario Rodas
efd87eaa1b
Merge pull request #111881 from r-ryantm/auto-update/fasm
fasm: 1.73.25 -> 1.73.27
2021-02-08 21:02:37 -05:00
Felix Scheinost
7b014876e0 jdk11 (darwin): 11.0.1 -> 11.0.9
1) openjdk/11.nix and openjdk/darwin/11.nix should be at the same version
2) 11.0.1 is affected by TLS 1.3 validation bug https://bugs.openjdk.java.net/browse/JDK-8211806
2021-02-08 13:37:31 +01:00
Robert Schütz
9a200f6091
Merge pull request #111330 from dotlambda/libav-insecure
libav: mark as insecure
2021-02-08 12:18:05 +01:00
Eric Bailey
35056b3b61 maintainers/teams: add beam team 2021-02-07 13:01:11 -06:00
Marek Fajkus
c7cb9abfa4
elmPackages: updates 2021-02-06 16:51:21 +01:00
Peter Simons
0b626654ad ghc: update the 9.0.1 version to the official release tarball 2021-02-05 23:05:20 +01:00
Peter Simons
b1d2e3b10f ghc-8.10.3: don't use obsolete stdenv.lib
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-02-05 23:04:46 +01:00
Cheng Shao
643169bbb4 Fix ar command path in GHC.
Previously, the "ar command" in the global config of GHC in nixpkgs is
simply "ar" instead of a proper absolute path in the nix store. This
will result in an "ar: command not found" error when using GHC and cabal
in a pure nix shell. This commit adds the patch and applies to all
pre-9.0 versions.

See output of ghc --info for "ar command" value.
2021-02-05 22:54:09 +01:00
Robert Schütz
6c478b944f zulu: does not depend on libav 2021-02-04 15:19:24 +01:00
Robert Schütz
564d498580 zulu8: does not depend on libav 2021-02-04 15:19:23 +01:00
Robert Schütz
3673ad819f graalvm*-ee: remove unused argument libav_0_8 2021-02-04 15:19:23 +01:00
R. RyanTM
0cc64a9771 fasm: 1.73.25 -> 1.73.27 2021-02-04 07:56:11 +00:00
Tim Steinbach
0d3bf0781f scala: Replace VM test with installCheckPhase 2021-02-03 10:24:42 -05:00
Ryan Burns
ef8a3d9f83 llvmPackages_11.compiler-rt: fix build on darwin
Needed to prevent faulty i686 codegen on x86_64. We're doing this
already for the older llvm packages, so not sure why 11 never had this.
2021-02-02 20:45:43 -08:00
Stevan Andjelkovic
bf6df7187e
graalvm-ce-20.2.0 -> 20.3.0 + darwin support. (#105815)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-02-02 23:16:43 +01:00
Sandro
5c289fb23a
Merge pull request #111492 from RobinKrom/flutter_addition_emulator_dependencies
flutter: added dev libraries for the emulator
2021-02-02 14:11:16 +01:00
Louis Bettens
5cbe469c62
oraclejdk8: remove dependency on libav (#111528) 2021-02-01 15:56:59 +01:00
Sandro
77218c10a0
Merge pull request #111532 from lourkeur/update/oraclejdk11
oraclejdk11: 11.0.8 -> 11.0.10
2021-02-01 15:41:47 +01:00
Daniël de Kok
89220945cb
Merge pull request #111171 from danieldk/rocm-4.0.1
llvmPackages_rocm: 4.0.0 -> 4.0.1
2021-02-01 11:52:33 +01:00
drsk
e619018449 flutter: added dev libraries for the emulator
Four additional libraries seem to be needed to start the emulator on my
machine.
2021-02-01 11:08:25 +01:00
Louis Bettens
036dc53af0 oraclejdk11: 11.0.8 -> 11.0.10 2021-02-01 10:04:13 +01:00
Daniël de Kok
ef84ed93dd
Merge pull request #110896 from LibreCybernetics/update-crystal
crystal: 0.35.1 -> 0.36.0
2021-01-31 14:04:41 +01:00
Daniël de Kok
db73e7a177
Merge pull request #111211 from dotlambda/swift-broken-insecure
swift: mark as broken and insecure
2021-01-31 12:02:18 +01:00
John Ericson
5fc5e83808
Merge pull request #111345 from r-burns/ppc64-big-endian
Enable PPC64 (big-endian)
2021-01-30 16:26:06 -05:00
Ryan Burns
5530a3adbe gcc: fix powerpc64-linux
Long-double-128 is a hardware feature independent of endianness
2021-01-30 12:34:30 -08:00
Jörg Thalheim
fd2dcf3b17
Merge pull request #111247 from siraben/stdenv-lib-node-env
pkgs/development: stdenv.lib -> lib in node-composition files
2021-01-30 08:40:47 +00:00
Ben Siraphob
32fc8b9134 pkgs/development: stdenv.lib -> lib in node-composition files
Future updates to these files should generate them with node2nix 1.9.0
which removes stdenv.lib from the generated Nix.
2021-01-30 14:42:17 +07:00
Sandro
b2b193abc5
Merge pull request #111187 from thiagokokada/revert-flutter-bump 2021-01-30 02:46:04 +01:00
Robert Schütz
3780fbeda2 swift: mark as broken
No successful build on Hydra since 2020-12-23.
2021-01-29 22:59:37 +01:00
Robert Schütz
26cde7b2d3 swift: mark as insecure 2021-01-29 22:59:01 +01:00
Maximilian Bosch
526738a799
Merge pull request #110798 from lourkeur/update/oraclejdk8
oraclejdk8: 8u271 -> 8u281
2021-01-29 22:11:24 +01:00
Thiago Kenji Okada
910d06bb90 flutter: small refactorings in derivation 2021-01-29 18:05:13 -03:00
Thiago Kenji Okada
f5294b802d Revert "flutter: 1.22.4 -> 1.22.5"
This reverts commit 5f72a823de.
2021-01-29 14:50:13 -03:00
Daniël de Kok
fa846bef8a llvmPackages_rocm: 4.0.0 -> 4.0.1
Release notes:

https://rocmdocs.amd.com/en/latest/Current_Release_Notes/Current-Release-Notes.html#amd-rocm-release-notes-v4-0-1
2021-01-29 16:43:22 +01:00
R. RyanTM
e187ea5004 pony-corral: 0.4.0 -> 0.4.1 2021-01-29 12:29:17 +00:00
James Ottaway
6dd40fcf51 dotnetCorePackages: Fix combinePackages example 2021-01-29 14:21:22 +10:00
github-actions[bot]
98b8e8ebf8
Merge master into staging-next 2021-01-29 00:43:53 +00:00
AndersonTorres
de8955b670 cc65: add platforms 2021-01-28 18:13:42 -03:00
github-actions[bot]
2e6c34fd11
Merge master into staging-next 2021-01-28 12:23:51 +00:00
github-actions[bot]
bef2fbcd27
Merge master into staging-next 2021-01-27 18:28:31 +00:00
Thiago Kenji Okada
d87aba56a8 dart/flutter: add thiagokokada as maintainer 2021-01-27 14:48:10 -03:00
Thiago Kenji Okada
5f72a823de flutter: 1.22.4 -> 1.22.5
Needs to do a build in 2-pass now since Google stopped shipping all
dependencies needed to build Flutter. This may be an oversight from them
since they used to ship everything, but this makes the whole build
process more robust.

The first step will download all dependencies from pub, and the
second step will build Flutter. Since we need to build repository
first, we also require a new depsSha256 parameter to be passed, that
represents the SHA256 of the resulting derivation of all Flutter
dependencies downloaded from https://pub.dev.

This commit also makes some changes in mkFlutter, allowing the
user to pass src instead of passing version/channel/filename, allowing
for more flexibility (i.e: building from a local fork of Flutter).
2021-01-27 14:48:10 -03:00
Thiago Kenji Okada
d6db914fc4 flutter: 1.22.0 -> 1.22.4 2021-01-27 14:48:10 -03:00
Thiago Kenji Okada
ec644e05cb flutter: remove non-stable versions
Related issue #108606.

Nowadays we have multiple outdated versions of Flutter in nixpkgs.
Instead, let's focus in having in having stable versions of Flutter
working.

Users needing to use beta or dev versions of Flutter can use mkFlutter
function, that still exists.
2021-01-27 14:48:06 -03:00
Sandro
2e442062f4
Merge pull request #110924 from siraben/stdenv-lib-implicit
treewide: remove implicit use of stdenv.lib
2021-01-27 14:56:42 +01:00
Ben Siraphob
82454e9df8 treewide: remove implicit use of stdenv.lib 2021-01-27 20:04:57 +07:00
Mario Rodas
9c5389e47a
Merge pull request #110771 from sternenseemann/zz
zz: install modules shipped with compiler
2021-01-27 07:58:51 -05:00
github-actions[bot]
2137c13b40
Merge master into staging-next 2021-01-27 12:24:05 +00:00
Léo Gaspard
951363ffbe
Merge pull request #101474 from B4dM4n/openjdk14-i686-build
openjdk15-bootstrap: fix i686 build
2021-01-27 11:28:40 +01:00
Sandro
ad97ca4e51
Merge pull request #110912 from siraben/stdenv-lib-inherit
treewide: remove inherited stdenv.lib
2021-01-27 10:28:55 +01:00
Sandro
2ee93d61ad
Merge pull request #110913 from siraben/other-stdenv-lib 2021-01-27 10:13:05 +01:00
github-actions[bot]
6d452e839b
Merge master into staging-next 2021-01-27 06:19:24 +00:00
Ben Siraphob
02ee14b9d5 treewide: stdenvNoCC.lib -> lib 2021-01-27 13:01:51 +07:00
Ben Siraphob
3bbad8b041 treewide: remove inherited stdenv.lib 2021-01-27 12:44:43 +07:00
Ryan Burns
89850d10e0 ghcjs: fix eval
This was causing release-cross to fail hydra eval, so it hasn't been
building for the last few days. So note that although ghcjs still
does not build, this fixes eval so the jobset can proceed.

Verified with `hydra-eval-jobs pkgs/top-level/release-cross.nix -I nixpkgs=.`
2021-01-26 19:58:53 -08:00
Fabián Heredia Montiel
6ae270b366 crystal: 0.35.1 -> 0.36.0 2021-01-26 15:43:21 -06:00
Fabian Möller
65525be83b
openjfx15: enable i686-linux build 2021-01-26 20:26:28 +01:00
github-actions[bot]
c994c9d31e
Merge master into staging-next 2021-01-26 18:27:09 +00:00
Sandro
b749b2afa6
Merge pull request #110849 from sternenseemann/zz-unstable
zz: 0.1 -> unstable-2021-01-26
2021-01-26 16:00:01 +01:00
Jan Tojnar
69fca326f8
Merge branch 'master' into staging-next 2021-01-26 13:53:25 +01:00
sternenseemann
9a8bd5a0fa zz: 0.1 -> unstable-2021-01-26 2021-01-26 13:26:18 +01:00
Ryan Burns
44c46905b9 llvmPackages_rocm.clang: add isClang and llvm passthru
Matches generic clang compilers, and fixes isClang inspection, which
0710308402 depends on for the
`--gcc-toolchain` flag to be set up properly.

Fixes rocm-comgr
2021-01-26 02:32:59 -08:00
github-actions[bot]
2661d9378f
Merge master into staging-next 2021-01-26 00:45:11 +00:00
Sandro
87a269015f
Merge pull request #110791 from LeSuisse/gnucobol-3.1.2
gnu-cobol: 2.2 -> 3.1.2
2021-01-25 21:46:58 +01:00
github-actions[bot]
a127deeb88
Merge master into staging-next 2021-01-25 18:52:08 +00:00
Thomas Gerbet
80027b2272 gnu-cobol: 2.2 -> 3.1.2
Fixes:
 * CVE-2019-14468
 * CVE-2019-14486
 * CVE-2019-14528
 * CVE-2019-14541
 * CVE-2019-16395
 * CVE-2019-16396
2021-01-25 19:16:20 +01:00
Pavol Rusnak
a6ce00c50c
treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
Louis Bettens
bccb0ee3db oraclejdk8: 8u271 -> 8u281 2021-01-25 18:21:08 +01:00
spease
e610806903
halide: Enable on platforms.all (#110106) 2021-01-25 15:48:16 +01:00
sternenseemann
4aa937d2e2 zz: install modules shipped with the compiler
Previously zz wouldn't be able to compile anything using standard
modules like mem or log out of the box.

To fix this we copy the modules directory included in the source to
$out/share/zz/modules and add an entry to ZZ_MODULE_PATHS in the wrapper
around zz.

We also remove a search path entry which used to reference /build
because it used CARGO_MANIFEST_DIR at build time. The default search
path now includes:

* /nix/store/modules
* $out/share/zz/modules
* $(pwd)/modules

Patching out /nix/store/modules would be kind of cumbersome as it is a
multi-line entry, but it probably does no harm and fine to leave in.

An issue arising by this PR might be that the added search path entry
may take priority over an user specified location even though we use
--suffix. This is because zz internally uses a HashSet which has no
guaranteed iteration order. This may lead to unexpected behavior for
users wo previously provided custom versions of the standard modules via
ZZ_MODULE_PATHS. However, this is an issue in upstream issue as well
where ZZ_MODULE_PATHS may or may not take priority over the compiled in
search path, so this issue should probably be resolved upstream (I'll
file a report or PR).
2021-01-25 14:25:42 +01:00
sternenseemann
190173e05b zz: adjust upstream URLs 2021-01-25 14:03:26 +01:00
Sandro
3cd31450a1
Revert "nodePackages: regenerate with node2nix 1.9.0" 2021-01-25 11:31:27 +01:00
Sander van der Burg
40f27ff2be
Merge pull request #110545 from svanderburg/node2nix-update
nodePackages: regenerate with node2nix 1.9.0
2021-01-25 09:13:59 +01:00
github-actions[bot]
b10ed56b8e
Merge master into staging-next 2021-01-25 01:18:25 +00:00
John Ericson
0710308402 clang, cc-wrapper: Move --gcc-toolchain logic into CC wrapper
Take 2, after #94582 had to be reverted.

This reverts commit ac03cfa3c5.
2021-01-24 15:49:32 -05:00
Jan Tojnar
cc8fd11ffb
Merge branch 'master' into staging-next 2021-01-24 20:41:42 +01:00
Fabian Möller
be4763a696
openjdk15-bootstrap: fix i686 build 2021-01-24 16:08:57 +01:00
volth
bc0d605cf1 treewide: fix double quoted strings in meta.description
Signed-off-by: Ben Siraphob <bensiraphob@gmail.com>
2021-01-24 19:56:59 +07:00
github-actions[bot]
b88b52998b
Merge master into staging-next 2021-01-24 01:18:51 +00:00
Gabor Greif
5105bf4b2e
llvm_{5,6,8..11}: fix missing lib from stdenv.lib -> lib (#110643)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-01-24 01:31:45 +01:00
Jan Tojnar
01ee4ea574
Merge branch 'master' into staging-next 2021-01-24 00:09:45 +01:00
John Ericson
12881a7aa7
Merge pull request #110544 from Ericson2314/no-platform
top-level, lib: Remove platform attribute of platforms
2021-01-23 16:32:36 -05:00
Sandro
10bb072072
Merge pull request #110610 from ck3d/fix-llvm11-cross
llvmPackages_11: Fix cross compilation
2021-01-23 22:23:39 +01:00
Christian Kögler
266f20d886 llvmPackages_11: Fix cross compilation 2021-01-23 18:03:24 +01:00
John Ericson
9c213398b3 lib: Clean up how linux and gcc config is specified
Second attempt of 8929989614589ee3acd070a6409b2b9700c92d65; see that
commit for details.

This reverts commit 0bc275e634.
2021-01-23 10:01:28 -05:00
Marek Fajkus
07a6732bf5
Fix elm-json build on Darwin 2021-01-23 14:28:08 +01:00
github-actions[bot]
58752914f4
Merge master into staging-next 2021-01-23 12:40:13 +00:00
Jörg Thalheim
f6a583eeec
Merge pull request #110465 from siraben/development-compilers-stdenv-lib
pkgs/development/compilers: stdenv.lib -> lib
2021-01-23 10:07:31 +00:00
Ben Siraphob
acc5f7b18a pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
github-actions[bot]
8103cb9089
Merge staging-next into staging 2021-01-23 01:18:03 +00:00
Jonathan Ringer
0bc275e634
Revert "lib: Clean up how linux and gcc config is specified"
This is a stdenv-rebuild, and should not be merged
into master

This reverts commit 8929989614.
2021-01-22 14:07:06 -08:00
Sander van der Burg
3e385dc285 nodePackages: regenerate with node2nix 1.9.0 2021-01-22 22:42:58 +01:00
Ryan Mulligan
406a590802
Merge pull request #110503 from r-ryantm/auto-update/mlkit
mlkit: 4.5.2 -> 4.5.6
2021-01-22 12:34:56 -08:00
John Ericson
d95aebbe0e
Merge pull request #107214 from Ericson2314/linux-config-cleanup
lib: Clean up how linux and gcc config is specified
2021-01-22 15:15:58 -05:00
R. RyanTM
adf23ffca7 mlkit: 4.5.2 -> 4.5.6 2021-01-22 15:54:29 +00:00
github-actions[bot]
a5bbeb4fb1
Merge staging-next into staging 2021-01-22 12:43:02 +00:00
Sandro
9a92886922
Merge pull request #110395 from zowoq/gemset 2021-01-22 09:31:07 +01:00
John Ericson
8929989614 lib: Clean up how linux and gcc config is specified
The `platform` field is pointless nesting: it's just stuff that happens
to be defined together, and that should be an implementation detail.

This instead makes `linux-kernel` and `gcc` top level fields in platform
configs. They join `rustc` there [all are optional], which was put there
and not in `platform` in anticipation of a change like this.

`linux-kernel.arch` in particular also becomes `linuxArch`, to match the
other `*Arch`es.

The next step after is this to combine the *specific* machines from
`lib.systems.platforms` with `lib.systems.examples`, keeping just the
"multiplatform" ones for defaulting.
2021-01-21 22:44:09 -05:00
Matthew Bauer
afc2edc3ee
Merge pull request #108060 from matthewbauer/strip-musl-gcc
gcc: allow stripping gcc libraries
2021-01-21 19:31:26 -06:00
github-actions[bot]
e48c1f8e8c
Merge staging-next into staging 2021-01-22 01:17:58 +00:00
Matthew Bauer
4bdcddf9aa gcc: allow stripping gcc libraries
When cross compiling to the same kernel / arch combination, it is safe
to use strip of libraries. This happens when cross-compiling musl
programs. dontStrip is now set in each gcc compiler instead of in
gcc/builder.sh.

Fixes #75476
2021-01-21 16:25:48 -06:00
zowoq
59b83c43e0 treewide: add final newline 2021-01-22 07:18:04 +10:00
Antonio Nuno Monteiro
29954335b7 ocamlPackages_4_12.ocaml: alpha3 -> beta1 2021-01-21 21:59:09 +01:00
github-actions[bot]
27c8ef972c
Merge staging-next into staging 2021-01-21 18:51:36 +00:00
Jörg Thalheim
5e0f8f6762
Merge pull request #109919 from pjjw/musl-rust-bootstrap-fix
rust: add musl-libc targets to bootstrapping
2021-01-21 15:24:35 +00:00
github-actions[bot]
df8b20163b
Merge staging-next into staging 2021-01-21 06:45:45 +00:00
zowoq
932941b79c treewide: editorconfig fixes
- remove trailing whitespace
- use spaces for indentation
2021-01-21 13:29:54 +10:00
github-actions[bot]
e5fef074d6
Merge staging-next into staging 2021-01-21 01:19:31 +00:00
zowoq
8adc564f28 treewide: editorconfig fixes
- add final newline
- use spaces for indentation
2021-01-21 09:30:52 +10:00
Sandro
e201b1233d
Merge pull request #109836 from r-ryantm/auto-update/gleam
gleam: 0.12.1 -> 0.13.2
2021-01-20 23:45:45 +01:00
zowoq
5313326b7f go_1_15: 1.15.6 -> 1.15.7 2021-01-21 06:56:22 +10:00
zowoq
3bcd19086c go_1_14: 1.14.13 -> 1.14.14 2021-01-21 06:56:22 +10:00
github-actions[bot]
b27f238893
Merge staging-next into staging 2021-01-20 01:20:12 +00:00
zowoq
31f5dd3f36 treewide: editorconfig fixes
- remove trailing whitespace
- use spaces for indentation
2021-01-20 09:11:11 +10:00
Jan Tojnar
fc7bd322df
Merge branch 'staging-next' into staging 2021-01-19 13:50:04 +01:00
Jonathan Ringer
9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
Peter Woodman
0b8620e9b6
rust: add musl-libc targets to bootstrapping 2021-01-19 02:27:41 -05:00
github-actions[bot]
e8a1f18e58
Merge staging-next into staging 2021-01-19 01:18:25 +00:00
Sandro
82feb02e8d
Merge pull request #98011 from OPNA2608/update-acme-unstable-2020-08-26
acme: 120 -> unstable-2020-12-27
2021-01-19 00:32:28 +01:00
R. RyanTM
fd9714bb64 gleam: 0.12.1 -> 0.13.2 2021-01-18 22:11:33 +00:00
Jörg Thalheim
1881e81e3c
Merge pull request #103846 from kampka/llvm_11_musl
llvm_11: Disable checks on musl libc hosts
2021-01-18 20:11:55 +00:00
Christoph Neidahl
e0b02ce141 acme: 120 -> unstable-2020-12-27 2021-01-18 14:38:01 +01:00
zowoq
d93966200c Merge staging-next into staging 2021-01-18 13:03:13 +10:00
github-actions[bot]
b7f20dcd02
Merge master into staging-next 2021-01-18 01:16:03 +00:00
Austin Seipp
6ec4a219ce
yosys-bluespec: 2021.01.14 -> 2021.01.17
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2021-01-17 17:15:01 -06:00
Jan Tojnar
643a72b4f1
Merge branch 'staging-next' into staging 2021-01-17 05:52:43 +01:00
Jan Tojnar
e6f926d910
Merge branch 'master' into staging-next 2021-01-17 05:52:23 +01:00
Marek Fajkus
ccdf2b2be6
elmPackages.*: add meta
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-01-16 19:48:00 +01:00
github-actions[bot]
00577aef99
Merge staging-next into staging 2021-01-16 12:40:08 +00:00
github-actions[bot]
2445824f40
Merge master into staging-next 2021-01-16 12:40:04 +00:00
Sandro
a9bb54359e
Merge pull request #108099 from siraben/double-quotes-fix 2021-01-16 11:27:58 +01:00
Austin Seipp
d18e537613
Merge pull request #109461 from thoughtpolice/nixpkgs/yosys-plugins
yosys: add support for loading plugins, revert symbiflow changes
2021-01-16 03:51:57 -06:00
Ben Siraphob
8dd78bb4fb treewide: fix double quoted strings in meta.description 2021-01-16 11:29:30 +07:00
Austin Seipp
9a951db846
yosys: some more small fixes from review feedback
Fixes up the usage of patches/postInstall. Also removes `stdenv.lib` and
other minor tweaks.

Based on feedback from Sandro and Mihai.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2021-01-15 16:09:51 -06:00
Austin Seipp
365ef90263
yosys: cherry-pick some minor fixes (cf d81e4d9f6)
d81e4d9f66 contained some minor fixes to the yosys derivation
that make it a little easier to read and maintain. Incorporate those.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2021-01-15 16:09:50 -06:00
Austin Seipp
ec1830e696
init: experimental yosys-{bluespec, ghdl} plugins
These plugins can be included in a closure, along with the `yosys`
derivation, and they will be automatically picked up for use. For
example, this allows you to include 'yosys-bluespec' in your
`buildInputs`, and then immediately run:

    $ nix-shell -p yosys yosys-bluespec yosys-ghdl
    $ yosys -m bluespec -p 'help read_bluespec'
    $ yosys -m ghdl -p 'help ghdl'

These two plugins are a bit experimental, admittedly, but they are good,
clean examples of how to write and use the yosys plugin infrastructure,
and make it easy to test updates, etc.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2021-01-15 16:09:50 -06:00
github-actions[bot]
c1f25cbece
Merge staging-next into staging 2021-01-15 18:53:00 +00:00
github-actions[bot]
3269d4d3a3
Merge master into staging-next 2021-01-15 18:52:54 +00:00
Austin Seipp
7996fb0d4e
picat: 3.0p3 -> 3.0p4
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2021-01-15 12:03:57 -06:00
Jan Tojnar
e03806bc45
Merge branch 'staging-next' into staging 2021-01-15 17:47:43 +01:00
Jan Tojnar
c0d2951fa6
Merge branch 'master' into staging-next 2021-01-15 17:46:46 +01:00
Austin Seipp
2660037f8c
yosys: enable loading "out of band" plugins
By default, when yosys looks for plugins with the `-m` flag or `plugin`
command, it always looks in `YOSYS_PREFIX/share/yosys/plugins` for a
`.so` file, and loads that.

By design, this is intended to be a single, global, mutable location
such as `/usr/share/yosys/...` on disk, and plugins are supposed to
install their `.so` files here after yosys is installed, and they all
coexist together. Obviously, this won't work for us, but users might
expect these plugins to still work. More importantly, they won't want to
add special cases to their build systems.

Instead, to allow Nix users to use yosys plugins with the same UX (e.g.
natively call `plugin bluespec` or `-m ghdl`), we add a patch to yosys
that allows it to search a new `NIX_YOSYS_PLUGIN_DIRS` search path
environment variable. In tandem, we add a setup hook that adds to this
search path if a package has a `$out/share/yosys/plugins` directory.

Thus, it's enough to just include `yosys`, and any package that has a
yosys plugin in `$out/share/yosys/plugins`, and you can load it with
`-m` or the `plugin` command.

We could use a style like the haskellPackages set, where the set of
packages are "encased" in a lambda, and we pass packages that are
compatible with that version of the compiler:

    haskell.packages.ghc8102.ghcWithPackages (p: with p; [ ... ])

but, realistically, there will probably only ever be one version of
yosys and one set of compatible plugins, so this seems overdone.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2021-01-15 10:13:56 -06:00
Austin Seipp
51d1125f24
ghdl: 0.37 -> unstable-2021.01.14
This unreleased version of GHDL fixes a bunch of bugs. It also contains
a few internal API changes for synthesis support -- required by the GHDL
yosys plugin.

Ideally, we can just remove this when 0.38 comes out.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2021-01-15 10:13:46 -06:00