Commit Graph

8262 Commits

Author SHA1 Message Date
Elan Kugelmass
2b866d8b53
go-jsonnet: add jsonnetfmt binary (#91953)
Add binary jsonnetfmt to go-jsonnet package

go-jsonnet added a jsonnetfmt implementation in [0.16.0](https://github.com/google/jsonnet/releases/tag/v0.16.0)
As nix includes the C++ jsonnetfmt implementation in the main jsonnet package, it makes sense to mirror that pattern in the go package.
2020-07-02 18:29:43 -05:00
Alyssa Ross
204d583573 rust_1_42: drop
Nothing seems to need this to build any more.
2020-07-02 17:42:39 +02:00
Alyssa Ross
1f9cd4cf0a rustc: 1.43.0 -> 1.44.1 2020-07-02 17:42:39 +02:00
Arnout Engelen
fc2262365f adoptopenjdk: 8u242 -> 8u252 and other updates
I was mainly interested in the 8u242->8u252 update because this backports a
number of features to JDK8, including ALPN negotiation which is relevant for
HTTP/2.

generate-sources.py also updated the other variants
2020-07-02 17:20:33 +02:00
Frederik Rietdijk
c33ca7c5ce Merge staging-next into staging 2020-07-02 17:14:53 +02:00
R. RyanTM
200cc565b9
closurecompiler: 20200517 -> 20200614 (#91912) 2020-07-01 05:01:03 -05:00
Emery Hemingway
00c6fa607c nim: 1.2.0 -> 1.2.4 2020-07-01 13:37:47 +05:30
Luc Tielen
2f1c9323ac
souffle: 1.7.1 -> 2.0.0 2020-06-30 15:49:49 +02:00
Maximilian Bosch
116f39ff82
swift: fix build w/glibc-2.31
https://hydra.nixos.org/build/123279517

Internally used `compiler-rt` had to be fixed for `glibc-2.31`,
basically the same approach as in the LLVM fix
(7137183bbe05738246be2be0e704c1be9bf19947).

As soon as a newer `compiler-rt` is used for `swift`, this patch can be
removed again.
2020-06-29 14:41:43 +02:00
Maximilian Bosch
114f97e77e
gcc49: fix build w/glibc-2.31
The same `libsanitizer` problem as in llvm<10 and newer GCCs.

https://hydra.nixos.org/build/122902814
https://hydra.nixos.org/build/122903349
2020-06-29 14:41:43 +02:00
Maximilian Bosch
2c60e7c2d0
llvm*: compiler-rt: fix build w/glibc-2.31
https://hydra.nixos.org/build/122885657 and more.

Original upstream fix (available in llvm_10):

   947f969244
2020-06-29 14:41:43 +02:00
Maximilian Bosch
d348694fb6
gcc6: fix build w/glibc-2.31 2020-06-29 14:41:42 +02:00
Maximilian Bosch
cff1a1eefc
gcc7: fix build w/glibc-2.31
Applied a patch from the `gcc9` branch for `gcc7` to fix `libsanitizer`
for glibc-2.31.
2020-06-29 14:41:42 +02:00
Bouke van der Bijl
81a8b76b3a go: only set CC when cross-compiling
This avoids he default CC for cgo being hardcoded, when we only want to
overwrite it during compilation.
2020-06-28 11:28:23 +10:00
Colin
b71423ae38
go_1_15: init at 1.15beta1 (#91463) 2020-06-28 10:50:42 +10:00
Robert Helgesson
82daa41e29
cargo: install bash and zsh completion scripts 2020-06-27 21:21:43 +02:00
Maximilian Bosch
cacb4ee750
Merge pull request #91583 from adisbladis/mruby-2_1_1
mruby: 2.1.0 -> 2.1.1
2020-06-27 15:15:07 +02:00
Peter Simons
dbb7aaef62
Merge pull request #91474 from NixOS/haskell-updates
Update Haskell package set to LTS 16.2 (plus other fixes)
2020-06-26 23:05:28 +02:00
Domen Kožar
38227a68c1
Merge pull request #85324 from turboMaCk/refactor-elm-node-packages
elmPackages: Refactor `lib` and expression for related packages
2020-06-26 16:31:02 +02:00
adisbladis
bfe2ba32b8
mruby: 2.1.0 -> 2.1.1 2020-06-26 11:53:54 +02:00
adisbladis
2366150cab
mruby: Fix build with bison 3.6 2020-06-26 11:53:53 +02:00
Frederik Rietdijk
fe9a096f46 Merge staging-next into staging 2020-06-25 20:36:08 +02:00
Peter Simons
db15e92dd0 Merge remote-tracking branch 'origin/master' into haskell-updates. 2020-06-25 10:40:08 +02:00
Vincent Laporte
b53777c840 ocaml-ng.ocamlPackages_4_11.ocaml: 4.11.0+α2 → 4.11.0+α3 2020-06-24 21:44:36 +02:00
Frederik Rietdijk
6f72f0b0df Merge staging-next into staging 2020-06-24 19:04:26 +02:00
Marek Fajkus
b9e9effb44
elmPackages: Refactor lib and builds of packages 2020-06-23 19:44:34 +02:00
Domen Kožar
b930b2df8a
haskell.compiler.ghc865-binary: strip to fix aarch64 2020-06-23 14:59:07 +02:00
Daniël de Kok
28d2854b20
Merge pull request #84730 from athas/mlkit
mlkit: init at 4.5.0
2020-06-23 10:02:03 +02:00
Troels Henriksen
0ffeccd89f mlkit: init at 4.5.0 2020-06-23 08:30:20 +02:00
John Ericson
f3f7612a40 C++ Compilers: Systematize handling of standard libraries 2020-06-22 04:24:44 +00:00
John Ericson
e00d4d6021 emscripten: Don't always clain to have a GCC 2020-06-22 00:17:03 -04:00
Austin Seipp
2c91b4358a
yosys: 2020.06.16 -> 2020.06.19
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2020-06-20 11:34:10 -05:00
Austin Seipp
4891facdd4
nextpnr: 2020.03.25 -> 2020.06.12
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2020-06-20 11:34:10 -05:00
Frederik Rietdijk
301847a7e5 Merge master into staging-next 2020-06-19 09:01:43 +02:00
Florian Klink
ccaa301add
Merge pull request #90234 from asbachb/update-jdk-11.0.7
openjdk: 11.0.6 -> 11.0.7
2020-06-19 00:38:08 +02:00
Florian Klink
6b2c9aa7da
Merge pull request #90289 from r-ryantm/auto-update/adoptopenjdk-icedtea-web
adoptopenjdk-icedtea-web: 1.8.3 -> 1.8.4
2020-06-19 00:37:32 +02:00
Frederik Rietdijk
79f9ef8752 Merge master into staging-next 2020-06-18 09:01:39 +02:00
Matthew Bauer
d07451fb5c
Merge pull request #84315 from r-ryantm/auto-update/rgbds
rgbds: 0.3.10 -> 0.4.0
2020-06-17 23:15:03 -04:00
Jesse Wattenbarger
2d33717138 dasm: init at 2.20.13
Co-authored-by: Daniel Schaefer <git@danielschaefer.me>
2020-06-18 04:32:25 +02:00
R. RyanTM
3f5c873d26 intel-graphics-compiler: 1.0.3627 -> 1.0.4062 2020-06-17 12:40:07 -07:00
kolaente
615437a54c
Fix removing flutter upgrade 2020-06-17 18:42:14 +02:00
kolaente
b83408b976
flutter packages update 2020-06-17 18:27:50 +02:00
obadz
0280b5e21d
Merge pull request #90288 from delroth/mono-closure-size
mono: don't propagate a dependency to glib-dev (15% closure size saving)
2020-06-17 15:03:45 +01:00
Lassulus
c0574ae321
Merge pull request #90472 from cdepillabout/purescript-0.13.8
purescript: 0.13.6 -> 0.13.8
2020-06-17 14:11:47 +02:00
Frederik Rietdijk
8850815577 Merge master into staging-next 2020-06-17 08:40:33 +02:00
Austin Seipp
c2e1f9bc07
yosys: 2020.06.11 -> 2020.06.16
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2020-06-16 11:38:07 -05:00
Frederik Rietdijk
4af4a49251 Merge master into staging-next 2020-06-16 18:05:38 +02:00
Jörg Thalheim
5fea23b9c0
Merge pull request #90225 from zowoq/golang-team 2020-06-16 07:09:37 +01:00
zowoq
3050bbe9d4 maintainers/teams: add golang 2020-06-16 08:05:11 +10:00
(cdep)illabout
0a2b461959
purescript: add cdepillabout as maintainer 2020-06-15 21:10:29 +09:00
(cdep)illabout
0be2f125e5
purescript: 0.13.6 -> 0.13.8 2020-06-15 21:09:12 +09:00
Frederik Rietdijk
384bc1a861 Merge staging-next into staging 2020-06-15 08:29:05 +02:00
Frederik Rietdijk
59dda0a42a Merge master into staging-next 2020-06-15 08:07:00 +02:00
Pierre Bourdon
f96842292f
mono: don't propagate a dependency to glib-dev
This was added in 2005 back in r51ce4ea2. This was not commented or
explained anywhere, and it does not seem to be necessary anymore
according to some quick testing I did.

Reduces mono closure size by ~100M.
2020-06-14 12:53:31 +02:00
R. RyanTM
95f56eddce binaryen: 93 -> 94 2020-06-14 09:34:50 +00:00
R. RyanTM
8dc2ec290a adoptopenjdk-icedtea-web: 1.8.3 -> 1.8.4 2020-06-14 04:42:03 +00:00
Benjamin Asbach
890485a2bd openjdk: 11.0.6 -> 11.0.7 2020-06-13 11:53:11 +00:00
Benjamin Asbach
1c61d8707a openjdk: added myself as maintainer 2020-06-13 11:53:11 +00:00
Frederik Rietdijk
2e4b4e3300 Merge staging-next into staging 2020-06-13 11:03:26 +02:00
Frederik Rietdijk
1523382160 Merge master into staging-next 2020-06-13 11:02:21 +02:00
Mario Rodas
c2ce7eb7f1
Merge pull request #89334 from zowoq/go_1_14
go: 1.14.3 -> 1.14.4
2020-06-12 22:20:30 -05:00
Mario Rodas
1cd56fc682
Merge pull request #89333 from zowoq/go_1_13
go_1_13: 1.13.11 -> 1.13.12
2020-06-12 22:19:46 -05:00
Doron Behar
01d4e2fe33 treewide: use ffmpeg_3 explicitly if not wanted otherwise
After making `ffmpeg` point to the latest `ffmpeg_4`, all packages that
used `ffmpeg` without requiring a specific version now use ffmpeg_3
explicitly so they shouldn't change.
2020-06-12 11:55:31 -07:00
Frederik Rietdijk
febc27b59a Merge master into staging-next 2020-06-12 08:57:26 +02:00
Austin Seipp
13e52db31e
yosys: 2020.03.24 -> 2020.06.11
Also includes a bump to `abc-verifier`.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2020-06-11 23:14:07 -05:00
Michael Raskin
d65bcef36d
Merge pull request #89270 from GTrunSec/julia-lapack
julia_13: fix julia_13 missing Lib of lapack.
2020-06-11 14:38:16 +00:00
R. RyanTM
f86167fb12 abcl: 1.6.1 -> 1.7.0 2020-06-11 16:41:57 +02:00
Ryan Mulligan
8ce2d2c4a4
Merge pull request #89832 from r-ryantm/auto-update/go-jsonnet
go-jsonnet: 0.15.0 -> 0.16.0
2020-06-11 06:56:53 -07:00
Vladimír Čunát
16024fcaec
Merge branch 'staging-next' into staging
In particular, this fixes ISO evaluation.
2020-06-10 09:42:36 +02:00
Vladimír Čunát
6e9bb30566
Merge branch 'master' into staging-next
In particular, this fixes ISO evaluation.
2020-06-10 09:41:53 +02:00
Vincent Laporte
f648259731 ocaml-ng.ocamlPackages_4_11.ocaml: 4.11.0+α1 → 4.11.0+α2 2020-06-10 09:10:40 +02:00
Jan Tojnar
acb53e0698
Merge branch 'staging-next' into staging 2020-06-10 04:10:57 +02:00
Jan Tojnar
c637cbe992
Merge branch 'master' into staging-next 2020-06-10 04:10:34 +02:00
Benjamin Hipple
7f00dcf491
Merge pull request #88876 from Thra11/dtc-1.6.0
dtc: 1.5.1 -> 1.6.0
2020-06-09 00:54:39 -04:00
R. RyanTM
131fda1225 go-jsonnet: 0.15.0 -> 0.16.0 2020-06-08 19:14:11 +00:00
zowoq
aae680cd5d go: fix TestDontCacheBrokenHTTP2Conn failure 2020-06-08 20:42:24 +10:00
Frederik Rietdijk
8576d24b2a Merge staging-next into staging 2020-06-08 12:08:51 +02:00
Frederik Rietdijk
dc33419285 Merge master into staging-next 2020-06-08 12:06:12 +02:00
John Ericson
b668fe8796
Merge pull request #89582 from input-output-hk/fix-rust-cross
rust: fix rust cross-compile
2020-06-08 00:48:49 -04:00
Moritz Angermann
f2a33e4486
Update configure-flags.nix 2020-06-08 12:43:58 +08:00
Moritz Angermann
58ffaee5d7
Update configure-flags.nix 2020-06-08 12:40:38 +08:00
davlum
a554e12833
idris2: fix build on macOS (#89548)
The idris2 Makefile tries to use different versions of sed depending on
the OS, but nix always uses the same version. Because the version of
sed that is expected on macOS doesn't exist in the nix environment, the
build fails. Setting the OS to empty string resolves the issue.
2020-06-07 18:06:35 -04:00
Luka Blaskovic
f7bc0a3996 rls: set RUST_SRC_PATH
rls has racer baked in which needs to know where the rust source
is to be able to do completion for std libs. By default rls will use:
$(rustc --print sysroot)/lib/rustlib/src/rust/src
which is nonexistent, this commit sets the correct source path
in a same way like it's done in racer expression.
2020-06-07 14:18:41 +00:00
Michael Bishop
e27e475f0d
rust: fix rust cross-compile
reasoning:
sjlj (short jump long jump) exception handling makes no sense on x86_64, it's forcably slowing programs down as it produces a constant overhead. On x86_64 we have SEH (Structured Exception Handling) and we should use that. On i686, we do not have SEH, and have to use sjlj with dwarf2. Hence it's now conditional on x86_32
2020-06-05 23:34:38 -03:00
Vladimír Čunát
677e3960b5
Merge #82342: rustPlatform: increase build-speed of checkPhase
...for rust-packages (into staging)
2020-06-05 09:12:30 +02:00
Frederik Rietdijk
08900c0554 Merge master into staging-next 2020-06-04 15:25:54 +02:00
Lassulus
2d2f04b6a4
Merge pull request #88989 from wchresta/idris2
idris2: 0.2.0-840e020 -> 0.2.0
2020-06-04 09:05:06 +02:00
Daiderd Jordan
7b3a2963d1
treewide: replace base64 encoded hashes 2020-06-03 18:35:19 +02:00
zowoq
9f978147f8 go: 1.14.3 -> 1.14.4
https://golang.org/doc/devel/release.html#go1.14.minor
2020-06-02 09:32:40 +10:00
zowoq
7da08afd27 go_1_13: 1.13.11 -> 1.13.12
https://golang.org/doc/devel/release.html#go1.13.minor
2020-06-02 09:29:55 +10:00
GTrunsec
ce5d228677
julia: fix missing LDlib lapack 2020-05-31 13:50:36 -07:00
Keshav Kini
d78985704c sbcl: add option to disable immobile space
Programs which generate and compile a lot of code at runtime (such as
programming language interpreters like ACL2) are not suited for running on SBCL
executables built with the "immobile space" feature, as explained by Douglas
Katzman in this mail thread:

  https://sourceforge.net/p/sbcl/mailman/message/36007057/

In this commit, I add an optional flag to the SBCL package allowing you to
disable the "immobile space" features.

I also migrated away from specifying enabled/disabled features in a
`customize-target-features.lisp` file and towards supplying them as command line
arguments to `make.sh`, as has been recommended by the installation instructions
since 2012 or so.
2020-05-30 17:23:21 -07:00
Frederik Rietdijk
03de4c02fb Merge staging-next into staging 2020-05-28 22:05:36 +02:00
Frederik Rietdijk
e27e3ae169 Merge master into staging-next 2020-05-28 22:03:48 +02:00
Mario Rodas
23a75a4465
zz: 2020-03-02 -> 0.1 2020-05-28 04:20:00 -05:00
Jan Tojnar
ffe57c4e3e
lazarus: Fix eval
Unclean merge between d201270d0f and 1ac5398589.
2020-05-27 18:35:04 +02:00
Moises Nessim
1c8f4ec3a7 dotnetCorePackages: Add support for Darwin 2020-05-27 09:02:27 -07:00
Matthew Bauer
7e571eb994
Merge pull request #88988 from tobim/optimize-cross-libstdc++
gcc: optimize cross-compiled libraries
2020-05-27 10:12:35 -05:00
Frederik Rietdijk
362d88c2b1 Merge staging-next into staging 2020-05-27 15:27:28 +02:00
Frederik Rietdijk
1b7204ab3c Merge master into staging-next 2020-05-27 15:26:50 +02:00
Tobias Mayer
2be2b5328c
gcc: optimize cross-compiled libraries
`libstdc++` and a few other libraries are comiled with the options
set in `EXTRA_TARGET_FLAGS`. Normally, this is filled form
`EXTRA_FLAGS` inside of `builder.sh`, from which it inherits its
optimization option. For cross compilers `EXTRA_TARGET_FLAGS` is
set by a dedicated function that does not specify any optimization,
leading to sub-par runtime performance of many C++ programs.
2020-05-27 10:07:01 +02:00
Anderson Torres
24f9bc0243
Merge pull request #85986 from suhr/ciao
ciao: init at 1.19.0
2020-05-26 21:58:30 -03:00
wchresta
7fc97cf30b idris2: 0.2.0-840e020 -> 0.2.0
* Upgrade to release version of idris2
* Add config for proper testing phase
2020-05-26 18:38:54 -04:00
Jörg Thalheim
f76f13b1a7
Merge pull request #88645 from wchresta/master 2020-05-26 08:24:36 +01:00
Tom Hall
511822c158 dtc: 1.5.1 -> 1.6.0 2020-05-25 15:38:07 +01:00
Mario Rodas
06d6c42255
Merge pull request #88819 from r-ryantm/auto-update/jsonnet
jsonnet: 0.15.0 -> 0.16.0
2020-05-24 22:48:18 -05:00
Michael Raskin
d201270d0f lazarus: fix linking by the IDE; using the results of an investigation by @deliciouslytyped 2020-05-25 02:21:51 +02:00
R. RyanTM
302fff6b86 jsonnet: 0.15.0 -> 0.16.0 2020-05-24 21:51:22 +00:00
Сухарик
d6db081bdc ciao: init at 1.19.0 2020-05-24 12:26:29 +03:00
Frederik Rietdijk
d578248611 Merge staging-next into staging 2020-05-24 10:10:06 +02:00
Frederik Rietdijk
c778596f56 Merge master into staging-next 2020-05-24 10:03:22 +02:00
Matthew Bauer
c74a9cd3e2
Merge pull request #69144 from SFrijters/gdc
gdc: init at 9.3.0
2020-05-23 16:30:47 -05:00
wchresta
074c9cbe1c idris2: init at version 0.2.0-840e020
A purely functional programming language with first class types
2020-05-23 12:54:27 -04:00
Frederik Rietdijk
b34551384a Merge master into staging-next 2020-05-23 10:24:52 +02:00
Orivej Desh
16d7f7edae Merge branch 'master' into staging 2020-05-22 09:13:23 +00:00
Gabor Greif
d54bfa2a93 compiler-rt{6..10}: fix compilation on Darwin
addendum to https://github.com/NixOS/nixpkgs/pull/85945
2020-05-20 20:10:08 +02:00
Mario Rodas
4ce8a3370a
Merge pull request #88233 from r-ryantm/auto-update/tinygo
tinygo: 0.13.0 -> 0.13.1
2020-05-20 06:19:55 -05:00
Mario Rodas
a33cf2276f
Merge pull request #88331 from r-ryantm/auto-update/closure-compiler
closurecompiler: 20200406 -> 20200517
2020-05-20 06:04:05 -05:00
R. RyanTM
2f3a4fe849 closurecompiler: 20200406 -> 20200517 2020-05-20 09:39:55 +00:00
R. RyanTM
fdedbbf4e1 tinygo: 0.13.0 -> 0.13.1 2020-05-20 02:17:42 +00:00
Stefan Frijters
fc9b93d2fc gdc: init at 9.3.0 2020-05-19 23:06:52 +02:00
Jason Felice
61335d51ac gambit: disable use of poll() on Darwin
Darwin has a bug which affects the use of poll() with a tty fd,
which affects gambit's REPL when at a console, causing 100% CPU
usage.

Gambit recommends this is disabled on Darwin.
2020-05-19 16:06:41 -05:00
Mario Rodas
760aa782a7
Merge pull request #87851 from zowoq/go1143
go: 1.14.2 -> 1.14.3
2020-05-18 19:29:47 -05:00
Jan Tojnar
f8a9c6efac
Merge branch 'staging-next' into staging 2020-05-18 21:09:48 +02:00
Jan Tojnar
7f40cfd97b
Merge branch 'master' into staging-next 2020-05-18 21:09:27 +02:00
Louis Bettens
c3b743a692 oraclejdk8: 8u241 -> 8u251 2020-05-18 10:29:43 +02:00
Francois-Rene Rideau
0d0f475f27 gerbil: 0.15.1 -> 0.16
Now that v0.16 was released at last, make the configurePhase and instalPhase
the same again for default and unstable.
2020-05-17 16:14:22 -04:00
Francois-Rene Rideau
f9360e7974 gerbilPackages.gerbil-utils: init at 2020-05-16 2020-05-17 16:09:26 -04:00
Francois-Rene Rideau
756c8a27d9 gerbil-unstable: 2020-02-27 -> 2020-05-17 2020-05-17 15:51:05 -04:00
Francois-Rene Rideau
da4aa17343 gambit-unstable: 2020-02-24 -> 2020-05-13 2020-05-17 15:50:59 -04:00
Francois-Rene Rideau
90835bc666 Refactor Gerbil support
- Use the new Gambit support.
- Move files from $out to $out/gerbil.
- Use new Gerbil configuration and installation scripts.
- Move some fixups from preBuild to postPatch.
- Give up on previous failed attempts at using static libraries.
- Add support for compiling libraries written in Gerbil.
- Build using NIX_BUILD_CORES.
- Register all those things in all-packages.
2020-05-17 15:48:13 -04:00
Francois-Rene Rideau
9456522528 Refactor Gambit support
Refactor the build rule:
- Put files in $out/gambit instead of $out.
- Make the optimization setting easy to override.
- Make use of gccStdenv more explicit at this level.
- Support new-style runtime options for forcing UTF-8 I/O.
- Override the PACKAGE_VERSION and PACKAGE_STRING with git version.
- Note that the license is lgpl21, not lpgl2 (Note: also dual asl20).
- Try and fail to meaningfully add missing runtimeDeps.
- Build using NIX_BUILD_CORES.
2020-05-17 15:48:12 -04:00
Jan Tojnar
ce90a304f1
aliceml: do not use aliases 2020-05-16 23:12:57 +02:00
zimbatm
9fbb82f46e
Merge pull request #87913 from zowoq/go113
go_1_13: 1.13.8 -> 1.13.11, stop setting GOPATH
2020-05-16 12:39:53 +02:00
Vincent Laporte
df70dcb6fb ocaml-ng.ocamlPackages_4_11.ocaml: init at 4.11.0+α1 2020-05-16 10:27:00 +02:00
adisbladis
13356e3301
Merge pull request #87872 from fare-patches/ethereum
Ethereum updates
2020-05-16 10:25:55 +02:00
zowoq
d1e7b0049c go_1_13: 1.13.8 -> 1.13.11 2020-05-16 10:31:23 +10:00
zowoq
469f14ceec go_1_13: stop setting GOPATH
a1e13f6140
2020-05-16 10:31:12 +10:00
Francois-Rene Rideau
46b3eca5fd solc: 0.5.15 -> 0.6.8 2020-05-15 19:18:11 -04:00
Peter Simons
e037eb4046 ghcjs: mark build as broken
ghcjs hasn't compiled for several weeks.
2020-05-15 21:19:10 +02:00
zimbatm
99efa7c85c
Revert "Get rid of go 1.13 (#86036)"
This partially reverts commit 3e0aa4af2d.

See the discussion in the PR.
2020-05-15 19:26:53 +02:00
Antonio Nuno Monteiro
90e5b2a44e
bs-platform: 7.3.1 -> 7.3.2 2020-05-14 21:00:31 -07:00
zowoq
8d41f9f281 go: 1.14.2 -> 1.14.3
https://golang.org/doc/devel/release.html#go1.14.minor
2020-05-15 09:56:45 +10:00
Frederik Rietdijk
404fe35d65 Merge staging-next into staging 2020-05-14 09:37:03 +02:00
Frederik Rietdijk
92a26320e7 Merge master into staging-next 2020-05-14 09:25:25 +02:00
Colin L Rice
d6162dab50
go-modules: Update files to use vendorSha256 2020-05-14 07:22:21 +01:00
Manuel Mendez
a1e13f6140
go: stop setting GOPATH
The compiler does not need it anymore, has not needed it for many years
iirc. This just goes in and pollutes the environment overriding the
users GOPATH and causing grief.

Go even warns about it itself, without vs with this commit:

```sh
~> go env GOPATH
/home/manny/go
~> nix-shell -p go
~> go env GOPATH
warning: GOPATH set to GOROOT (/nix/store/gvw1mfpdrk7i82884yhxf9lf5j3c12zm-go-1.14.1/share/go) has no effect
/nix/store/gvw1mfpdrk7i82884yhxf9lf5j3c12zm-go-1.14.1/share/go
~> exit
~> nix-shell -I nixpkgs=cloned/NixOS/nixpkgs -p go
~> go env GOPATH
/home/manny/go
~> exit
```
2020-05-13 23:53:30 +01:00
Maximilian Bosch
6b23cfe689
rustPlatform: add buildAndTestSubdir-argument
There are several tarballs (such as the `rust-lang/rust`-source) with a
`Cargo.toml` at root and several sub-packages (with their own Cargo.toml)
without using workspaces[1].

In such a case it's needed to move into a subdir to only build the
specified sub-package (e.g. `rustfmt` or `rsl`), however the artifacts
are at `/target` in the root-dir of the build environment. This breaks
the build since `buildRustPackage` searches for executables in `target`
(which is at the build-env's root) at the end of the `buildPhase`.

With the optional `buildAndTestSubdir`-argument, the builder moves into
the specified subdir using `pushd`/`popd` during `buildPhase` and
`checkPhase`.

Also moved the logic to find executables and libs to the end of the `buildPhase`
from a custom `postBuild`-hook to fix packages with custom `build`/`install`-procedures
such as `uutils-coreutils`.

[1] https://doc.rust-lang.org/book/ch14-03-cargo-workspaces.html
2020-05-13 01:47:17 +02:00
Mario Rodas
78d5a108a2
Merge pull request #86304 from filalex77/gleam-0.8.0
gleam: 0.7.1 -> 0.8.0
2020-05-12 07:14:54 -05:00
John Ericson
1ac5398589 *-wrapper; Switch from infixSalt to suffixSalt
I hate the thing too even though I made it, and rather just get rid of
it. But we can't do that yet. In the meantime, this brings us more
inline with autoconf and will make it slightly easier for me to write a
pkg-config wrapper, which we need.
2020-05-12 00:44:44 -04:00