3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

5102 commits

Author SHA1 Message Date
John Ericson 330ca731e8 treewide: Get rid of all uses of crossConfig
The hack of using `crossConfig` to enforce stricter handling of
dependencies is replaced with a dedicated `strictDeps` for that purpose.
(Experience has shown that my punning was a terrible idea that made more
difficult and embarrising to teach teach.)

Now that is is clear, a few packages now use `strictDeps`, to fix
various bugs:

 - bintools-wrapper and cc-wrapper
2018-05-14 23:30:37 -04:00
John Ericson de169a5950 Merge commit '3a9654bfe29ebd987b7426faa25f00af1fab02c5' into HEAD 2018-05-14 14:20:40 -04:00
John Ericson 3a9654bfe2 gcc: Simplify this old Hurd condition
Steps towards getting rid of crossConfig.
2018-05-14 13:13:11 -04:00
John Ericson f472dd7652 Revert "Revert "gcc, binutils: Get rid of 32-bit ARM configure flag exception""
And there's more reverts too. The previous commmit
d838afbc9376bdadb8c690eb00b425f3eeccdf2d to gnu-config finally solves
it!

This reverts commit 3ed545ab31.
2018-05-14 10:55:32 -04:00
John Ericson f2004e6287 lib: Fix float handling for Aarch32
Forgot to adjust default so abi with explicit float attr would be used.
2018-05-12 15:18:31 -04:00
John Ericson 1fe81a4bcd lib: Clean up float/fpu options
ARM ABIs now have a float field. This is used as a fallback to lessen
our use of `platform.gcc.float`. I didn't know what the MIPs convention
is so I kept using `platform.gcc.float` in that case.
2018-05-10 18:02:00 -04:00
John Ericson c9f6a82b61 gcc: Factor out "platform flags" 2018-05-10 18:00:57 -04:00
John Ericson b9acfb4ecf treewide: isArm -> isAarch32
Following legacy packing conventions, `isArm` was defined just for
32-bit ARM instruction set. This is confusing to non packagers though,
because Aarch64 is an ARM instruction set.

The official ARM overview for ARMv8[1] is surprisingly not confusing,
given the overall state of affairs for ARM naming conventions, and
offers us a solution. It divides the nomenclature into three levels:

```
ISA:             ARMv8   {-A, -R, -M}
                 /    \
Mode:     Aarch32     Aarch64
             |         /   \
Encoding:   A64      A32   T32
```

At the top is the overall v8 instruction set archicture. Second are the
two modes, defined by bitwidth but differing in other semantics too, and
buttom are the encodings, (hopefully?) isomorphic if they encode the
same mode.

The 32 bit encodings are mostly backwards compatible with previous
non-Thumb and Thumb encodings, and if so we can pun the mode names to
instead mean "sets of compatable or isomorphic encodings", and then
voilà we have nice names for 32-bit and 64-bit arm instruction sets
which do not use the word ARM so as to not confused either laymen or
experienced ARM packages.

[1]: https://developer.arm.com/products/architecture/a-profile

(cherry picked from commit ba52ae5048)
2018-04-25 15:50:41 -04:00
John Ericson f79f80dbf2 treewide: get rid of platforms.allBut
Negative reasoning like `allBut` is a bad idea with an open world of
platforms. Concretely, if we add a new, quite different sort of
platform, existing packages with `allBut` will claim they work on it
even though they probably won't.
2018-03-14 18:44:42 -04:00
Peter Simons 3d8694ee2d ghcjs: mark build broken 2018-03-05 16:44:23 +01:00
Vladimír Čunát 565bd805e6
Merge branch 'master' 2018-03-05 14:53:27 +01:00
Anders Kaseorg 6f073154da Give working advice for running nix-prefetch-url
nix-prefetch-url file://… requires a full path.  Suggest an invocation
that will provide one.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2018-03-04 17:28:36 +00:00
Tim Steinbach d070199a24
kotlin: 1.2.21 -> 1.2.30 2018-03-04 10:18:05 -05:00
Thomas Mader 61432bcd71 dmd: 2.078.2 -> 2.079.0 2018-03-03 18:29:48 +01:00
Vincent Laporte 504bf92ee2 ocaml: 4.06.0 -> 4.06.1 2018-03-01 14:57:06 +01:00
Will Dietz f1dd205c4e
Merge pull request #35643 from volth/graalvm8-init-0.31
graalvm8: init at 0.31
2018-02-28 12:31:33 -06:00
Eldar Tsraev fe83139f75 ccl: add MacOS version 2018-02-28 21:24:21 +13:00
volth 327cc78465
graalvm8: https://repo1.maven.org/maven2/ -> mirror://maven/ 2018-02-27 21:58:22 +00:00
John Ericson dfc5d7835d
Merge pull request #35247 from telent/mips32
lib, treewide: Add missing MIPS arches, and fix existing usage
2018-02-27 14:01:15 -05:00
Michael Raskin e41641d1e0
Merge pull request #35888 from fare-patches/master
Releases of Gambit and Gerbil
2018-02-27 17:35:45 +00:00
Francois-Rene Rideau b649b0834a gerbil: 0.12-DEV-1404-g0a266db -> 0.12-RELEASE
This is the first stable version of gerbil, named 0.12-RELEASE
so that builtins.compareVersions should consider it newer than the
packages of the 0.12-DEV-xxx series.

Next stable package version will be gerbil-0.13 without -RELEASE.
Next unstable package version will be in its own distinct package
gerbil-unstable-2018-02-28 or some such, as per nixpkgs guidelines.
2018-02-27 12:20:41 -05:00
volth 4f811dea25 graalvm8: more robust hash replace on derivation copy 2018-02-27 17:10:18 +00:00
Francois-Rene Rideau b5f475c9b5 gambit: 4.8.8-435-gd1991ba7 -> 4.8.9 2018-02-27 08:49:13 -05:00
Will Dietz 4a9c3633dd swift: fix broken ar symlink 2018-02-26 21:01:29 -06:00
Will Dietz 88850c19ab swift: add include for <functional> (#35689) 2018-02-26 20:06:14 -06:00
volth d9d09d8c95 jvmci8: 0.36 -> 0.41 2018-02-27 01:32:43 +00:00
volth 6303eb5406 graalvm8: init at 0.31 2018-02-26 14:21:57 +00:00
Nikolay Amiantov efe836160f cudatoolkit: 9.0.176 -> 9.1.85.1 2018-02-25 22:24:09 +03:00
Nikolay Amiantov cac556be8d cudatoolkit8: 8.0.61 -> 8.0.88
This requires a refactor so that we support binary patches from NVIDIA.
2018-02-25 22:24:09 +03:00
Peter Simons ab7a07f73b
Merge pull request #35321 from ElvishJerricco/fix-haskell-compiler-name-version
Fix haskellCompilerName version.
2018-02-25 19:59:51 +01:00
Jan Tojnar a31d98f312
tree-wide: autorename gnome packages to use dashes 2018-02-25 17:41:16 +01:00
Kosyrev Serge 624366d407
ghc841: bump to 20180224 2018-02-25 06:59:16 +03:00
Alexander V. Nikolaev 1bc1909e5b treewide: transition from mesa_glu to libGLU 2018-02-24 17:05:43 +02:00
Alexander V. Nikolaev 8f2a22935c treewide: transition from mesa_noglu to libGL 2018-02-24 17:03:46 +02:00
Daniel Barlow 9c50ae6898 lib, treewide: Add missing MIPS arches, and fix existing usage
Existing "mips64el" should be "mipsel".

This is just the barest minimum so that nixpkgs can recognize them as
systems - although required for building individual derivations onto
MIPS boards, it is not sufficient if you want to actually build nixos on
those targets
2018-02-23 20:43:42 -05:00
volth fb8f0d4724 scala: {2.9.3, 2.10.6, 2.11.11, 2.12.4} -> {2.10.7, 2.11.12, 2.12.4} 2018-02-23 14:33:17 +00:00
adisbladis 0b3a5b567a
Merge pull request #35350 from adisbladis/drop/go-1_8
go: Remove old version 1.8
2018-02-23 14:29:25 +08:00
Jörg Thalheim d81e32be2a
Merge pull request #35330 from Mic92/go
go_1_10: init at 1.10 and set as default
2018-02-22 23:00:23 +00:00
adisbladis 1cba8cc275
go_1_8: Go 1.8 is EOL 2018-02-23 01:46:29 +08:00
Jörg Thalheim 394981c236 go_1_10: cleanup remove-test-pie.patch 2018-02-22 12:17:31 +00:00
Jörg Thalheim 37ef0b8ab6 go_1_10: add mic92 and velovix to maintainers
cc @velovix
2018-02-22 12:16:08 +00:00
Jörg Thalheim ee5602112e go_1_10: misc/cgo/errors/test.bash no longer exists 2018-02-22 12:07:50 +00:00
Jörg Thalheim 163d038c68
Merge pull request #35331 from Mic92/cargo-fix
cargo: unbreak aarch64 build
2018-02-22 11:58:07 +00:00
Jörg Thalheim a7ab32ba98 cargo: unbreak aarch64 build 2018-02-22 11:46:30 +00:00
Jörg Thalheim 1a9316e47d go_1_10: init at 1.10 and set as default
Changes are minor from 1.9, so let's just set it as default straight.
2018-02-22 11:40:07 +00:00
adisbladis b144524ec8
go_1_7: Go 1.7 is EOL 2018-02-22 17:35:04 +08:00
adisbladis 804a21ea00
go_1_6: Go 1.6 is EOL 2018-02-22 17:34:22 +08:00
adisbladis 9ea5a00a4b
go: Remove unused patches 2018-02-22 17:33:11 +08:00
Will Fancher a9646b39cf Fix haskellCompilerName version.
This matters for `callCabal2nix`, when the cabal file has something
like `if impl(ghc >= 7.7)`
2018-02-22 03:11:25 -05:00
Will Dietz 39f61d5c02 gcc7: fix native and cross-musl build, sync w/gcc6 fixes 2018-02-21 20:55:22 -06:00