8516 Commits

Author SHA1 Message Date
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
Gaelan Steele
459c60dda2 gcc: fix building darwin->linux cross compiler
This reverts d9feea5 with some slight modifications to work with
other changes since then.

Fixes #88213.
2020-05-26 03:16:03 -07: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
a1e13f6140a568b73c1c36bb9ef79d7876ccaae3
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 3e0aa4af2da4e4010cd9011aaa125fed7ca220e6.

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
Attila Gulyas
3ff8bb704d mit-scheme: 9.2 -> 10.1.10
The  last update  was  in 2014  (9.2),  but a  major
release came out since (10.x).

See discussion at https://discourse.nixos.org/t/6776
but to sum up:

The portable  C source and Windows  binaries are not
available in the latest MIT Scheme release
(see https://www.gnu.org/software/mit-scheme/release.html )
Warning: Locale seems not configured
hence  the  option  to  build from  source has  been
removed  from  `default.nix`.  Although there  is  a
source package  included in the release  (in lieu of
the portable C source), there is a caveat:

> Note that you cannot build a working system from the
> source  unless you  have  a  working MIT/GNU  Scheme
> compiler to do the  compilation. (This doesn't apply
> to the  portable C source,  which requires only  a C
> compiler.)  This means  that if  the above  binaries
> don't work  on your system,  it is pointless  to try
> building a  custom set  of binaries from  the source
> code.
2020-05-13 16:12:43 -07: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