Commit graph

107258 commits

Author SHA1 Message Date
John Ericson
fedcda6cda zpaqd: Modernize derivation
- Simplified platform-specific options
 - Almost ready for cross-compilation
2017-05-22 18:52:50 -04:00
John Ericson
c443033be3 gdb: Modernize and simplify derivation
- `isGNU` to `isHurd`, my sedding did not catch
 - Simplify cross compilation in general
 - Be more careful about python
 - no more `gdbCross` in all-packages
2017-05-22 17:10:29 -04:00
John Ericson
eaa509f33a stdenv: Rename isGNU to isHurd as GNU is a userland
Elsewhere, things called GNU indeed includes GNU/Linux or GNU/Hurd, but this
predicate was defined excluding Linux regardless of userland.
2017-05-22 13:55:26 -04:00
John Ericson
1dc6f15de9 stdenv: define is* predicates with hostPlatform.is*
This is a saner default until stdenv's are removed altogether
2017-05-22 00:25:02 -04:00
John Ericson
c5c6606048 lib: Infer libc field of platform if not specified
This is especially useful when not cross compiling. It means we can
remove the `stdenv.isGlibc` predicate too.

Additionally, use this to simplify the logic to choose the
appropriate libiconv derivation.
2017-05-22 00:25:02 -04:00
John Ericson
2e7ec6fb70 lib: Make platform predicates more ergonomic to use
`hostPlatform.isDarwin` instead of `lib.system.parse.isDarwin
hostPlatform.parsed`
2017-05-22 00:25:02 -04:00
John Ericson
da8b2f1412 lib tests: Simplify relative path for default argument 2017-05-21 13:38:36 -04:00
John Ericson
25edc476fd glibc: Simplify derivation further
No native hashes should be changed with this commit
default.nix's cross hash should also not be changed
2017-05-20 22:17:28 -04:00
John Ericson
7e096024d7 glibc: Fix for cross 2017-05-19 18:44:24 -04:00
John Ericson
df91297181 release-cross: Do a recursive union to make sure we don't loose tests 2017-05-18 10:41:58 -04:00
John Ericson
2601a80639 release-cross: Make tests more uniform
Fewer packages are only built on one platform. Eventually we should
have each package encode its own requirements on build host and target
(as we do for build already) and use that to test automatically.
2017-05-17 18:54:31 -04:00
John Ericson
8ad2c6a830 ncurses: Fix for cross 2017-05-17 17:50:05 -04:00
John Ericson
76667036ec gmp 6: Fix for cross 2017-05-17 16:15:32 -04:00
John Ericson
80ed251f17 lib platform parsing: Whitelist darwin10 and darwin14 as stopgap
Something better should be done longer term to support such version
suffixes.
2017-05-17 15:33:05 -04:00
John Ericson
d34079c2d9 release-cross: Add arms test from Darwin for binutils
This does a decent job of testing everything in this PR up to here.
2017-05-17 15:33:05 -04:00
John Ericson
20fa6fd871 gcc: When cross compiling, always expect prefixed binutils
Previously this was just done on Darwin.
2017-05-17 15:33:05 -04:00
John Ericson
7018dfb9f4 binutils and cctools: Prefix derivation names with target for cross
We want platform triple prefixes and suffixes on derivation names to
be used consistently. The ideom this commit strives for is

 - suffix means build != host, i.e. cross *built* packages. This is
   already done.

 - prefix means build != target, i.e. cross tools. This matches the
   tradition of such binaries themselves being prefixed to disambiguate.]
   Binutils and cctools, as build tools, now use the latter
2017-05-17 15:33:05 -04:00
John Ericson
88ea6463a3 binutils on darwin: Clean up the rats nest
- No more *Cross duplication for binutils on darwin either.
   `cctools_cross` is merged into plain `cctools`, so `buildPackages`
   chains alone are used to disambiguate.

 - Always use a mashup of cctools and actual GNU Binutils as `binutils`.
   Previously, this was only done in the native case as nobody had
   bothered to implement the masher in the cross case. Implemented it
   basically consisted of extending the wrapper to deal with prefixed
   binaries.
2017-05-17 15:33:05 -04:00
John Ericson
bfa8f30499 linux cross stdenv: Use the cross stdenv and nativeBuildInputs
This is a cross derivation---it's built on one platform to run on
another---so let's structure it like all the other cross derivations.
2017-05-17 15:33:05 -04:00
John Ericson
f0e1907bee linuxHeadersCross: Remove and just use linuxHeaders 2017-05-17 15:06:09 -04:00
John Ericson
5870795cc6 linux cross stdenv: Fix eval errors
`pkgsNoParams` was removed by me, but then #25035 was merged using it,
leading to an unbound identifier.

It would be nice to get travis to do build release-cross.nix or
something to catch these things.
2017-05-17 13:42:51 -04:00
John Ericson
371ebc89ca lib platform parsing: Fix windows support to conform to LLVM, take 2
Second attempt at pull request #25275

This reverts commit b70924bd80,
reapplying 2282a5774c
2017-05-17 11:16:00 -04:00
John Ericson
296753f094 lib: Consolidate tests into one meta job 2017-05-17 11:14:59 -04:00
Jörg Thalheim
9c90ff7e7d Merge pull request #25611 from Lassulus/copytoram-option
nixos/iso-image: add option for copytoram
2017-05-09 22:36:59 +01:00
Jörg Thalheim
8f72f93981 Merge pull request #25614 from bobakker/master
hpx: restrict architecture to x86_64
2017-05-09 22:33:13 +01:00
Jörg Thalheim
e697585675
hardware.enableRedistributableFirmware: fix spelling error 2017-05-09 20:13:15 +01:00
Aneesh Agrawal
779ae06467 Add salt master module (#25632)
* salt: 2016.11.2 -> 2016.11.4

* salt: Add master NixOS module
2017-05-09 18:20:35 +01:00
Daiderd Jordan
0d6d47edd1 Merge pull request #25568 from sigma/pr/go-1.8.1
go: 1.8 -> 1.8.1
2017-05-09 18:44:12 +02:00
Franz Pletz
eb79649414
bind: disable seccomp by default
Fixes #25645 & #23431.
2017-05-09 18:19:38 +02:00
Franz Pletz
326efe5fdc
gitlab: 8.17.5 -> 8.17.6
Security release: https://about.gitlab.com/2017/05/08/gitlab-9-dot-1-dot-3-security-release/
2017-05-09 18:19:38 +02:00
Peter Simons
a1b6c5f5d6 Revert "Use consistent package naming for HEAD.nix files" for GHC and GHCjs.
This reverts commit 31b0e34d1d. The version
numbers used in that commit were no improvement.
2017-05-09 17:59:28 +02:00
Tristan Helmich
342c289d12 elasticsearch_kopf: 1.5.7 -> 2.1.1 2017-05-09 17:45:49 +02:00
Tristan Helmich
1d0627bccc graylogPlugins: Add and update plugins 2017-05-09 17:44:23 +02:00
Linus Heckemann
11272e930f
camlistore: use buildGoPackage
this removes go references from the package

fixes #25346
2017-05-09 16:34:21 +01:00
rht
c3bbc8adea inconsolata-lgc: git-2015-04-18 -> 1.3 (#25641)
* inconsolata-lgc: git-2015-04-18 -> 1.3

* lgc.nix: fix evaluation
2017-05-09 16:05:01 +01:00
Jörg Thalheim
5385a8e216 Merge pull request #25636 from Mic92/firmware
hardware: add enableRedistributalFirmware
2017-05-09 15:57:49 +01:00
Eelco Dolstra
00712bf472 Merge pull request #25644 from taku0/flashplayer-25.0.0.171
flashplayer: 25.0.0.148 -> 25.0.0.171
2017-05-09 16:42:28 +02:00
Jörg Thalheim
05aa80c06a
hardware: add enableRedistributalFirmware
Due the recent inclusion of broadcom-bt-firmware in enableAllFirmware,
it was required to set `nixpkgs.config.allowUnfree` to obtain the full
list. To make this dependency more explicit an assertion is added and an
alternative option `enableRedistributalFirmware` is provided to only
obtain firmware with an license allowing redistribution.
2017-05-09 15:29:08 +01:00
Thomas Tuegel
80fc0a6f99 Merge pull request #25628 from mdorman/emacs-updates
Automated Emacs package updates
2017-05-09 09:21:59 -05:00
Peter Hoeg
50711091f8 Merge pull request #25643 from lheckemann/syncthing-systemd-path
syncthing: correct path for systemd units
2017-05-09 22:16:13 +08:00
Linus Heckemann
adf76dbc54 syncthing: correct path for systemd units
The systemd files included with syncthing are "library" and not
"configuration" units, so they should be placed in lib/systemd
rather than etc/systemd, so that they can be customised by creating
unit files in etc/. This also corresponds to how syncthing's own
build script installs them.
2017-05-09 13:58:17 +01:00
taku0
3d3e4cdd7d flashplayer-ppapi: 25.0.0.148 -> 25.0.0.171 2017-05-09 21:53:11 +09:00
Tim Steinbach
8584a16922
linux: 4.10.14 -> 4.10.15 2017-05-09 08:43:37 -04:00
Pascal Wittmann
a913e8c3fa Merge pull request #25634 from ericsagnes/pkg-new/gnu-cobol
gnu-cobol: init at 2.0rc-2
2017-05-09 14:40:31 +02:00
taku0
17107fc977 flashplayer: 25.0.0.148 -> 25.0.0.171 2017-05-09 21:39:58 +09:00
Eric Sagnes
bd03033b49 gnu-cobol: init at 2.0rc-2 2017-05-09 19:03:41 +09:00
Peter Hoeg
32b57bec77 Merge pull request #25588 from mimadrid/update/weka-3.8.1
weka: 3.8.0 -> 3.8.1
2017-05-09 17:39:05 +08:00
Peter Hoeg
c5d319d6ed Merge pull request #25638 from gaqzi/u/idea-ultimate
idea-ultimate: 2017.1.1 -> 2017.1.2
2017-05-09 16:46:56 +08:00
mdaiter
fdd28b6fe0
openmvg: clarify Git version
fixes #25615
2017-05-09 09:39:41 +01:00
Peter Hoeg
112b5556af Merge pull request #25397 from clefru/qemu-OVMF-on-channels
Introduce virtualisation.libvirtd.qemuOvmf.
2017-05-09 16:36:45 +08:00