Commit Graph

86621 Commits

Author SHA1 Message Date
John Ericson
d27403b17b libiconv: TEMP force building library improperly for target plat like libc 2017-01-24 11:37:56 -05:00
John Ericson
94df8e7e4d openssl: Output-santizing hack properly uses native perl again 2017-01-24 11:37:56 -05:00
John Ericson
eee7cafaf7 coreutils: Use buildPackages instead of self hack for native version 2017-01-24 11:37:56 -05:00
John Ericson
bf17d6dacf top-level: Introduce buildPackages for resolving build-time deps
[N.B., this package also applies to the commits that follow it in the same
PR.]

In most cases, buildPackages = pkgs so things work just as before. For
cross compiling, however, buildPackages is resolved as the previous
bootstrapping stage. This allows us to avoid the mkDerivation hacks cross
compiling currently uses today.

To avoid a massive refactor, callPackage will splice together both package
sets. Again to avoid churn, it uses the old `nativeDrv` vs `crossDrv` to do
so. So now, whether cross compiling or not, packages with get a `nativeDrv`
and `crossDrv`---in the non-cross-compiling case they are simply the same
derivation. This is good because it reduces the divergence between the
cross and non-cross dataflow. See `pkgs/top-level/splice.nix` for a comment
along the lines of the preceding paragraph, and the code that does this
splicing.

Also, `forceNativeDrv` is replaced with `forceNativePackages`. The latter
resolves `pkgs` unless the host platform is different from the build
platform, in which case it resolves to `buildPackages`. Note that the
target platform is not important here---it will not prevent
`forcedNativePackages` from resolving to `pkgs`.

--------

Temporarily, we make preserve some dubious decisions in the name of preserving
hashes:

Most importantly, we don't distinguish between "host" and "target" in the
autoconf sense. This leads to the proliferation of *Cross derivations
currently used. What we ought to is resolve native deps of the cross "build
packages" (build = host != target) package set against the "vanilla
packages" (build = host = target) package set. Instead, "build packages"
uses itself, with (informally) target != build in all cases.

This is wrong because it violates the "sliding window" principle of
bootstrapping stages that shifting the platform triple of one stage to the
left coincides with the next stage's platform triple. Only because we don't
explicitly distinguish between "host" and "target" does it appear that the
"sliding window" principle is preserved--indeed it is over the reductionary
"platform double" of just "build" and "host/target".

Additionally, we build libc, libgcc, etc in the same stage as the compilers
themselves, which is wrong because they are used at runtime, not build
time. Fixing this is somewhat subtle, and the solution and problem will be
better explained in the commit that does fix it.

Commits after this will solve both these issues, at the expense of breaking
cross hashes. Native hashes won't be broken, thankfully.

--------

Did the temporary ugliness pan out? Of the packages that currently build in
`release-cross.nix`, the only ones that have their hash changed are
`*.gcc.crossDrv` and `bootstrapTools.*.coreutilsMinimal`. In both cases I
think it doesn't matter.

 1. GCC when doing a `build = host = target = foreign` build (maximally
    cross), still defines environment variables like `CPATH`[1] with
    packages.  This seems assuredly wrong because whether gcc dynamically
    links those, or the programs built by gcc dynamically link those---I
    have no idea which case is reality---they should be foreign. Therefore,
    in all likelihood, I just made the gcc less broken.

 2. Coreutils (ab)used the old cross-compiling infrastructure to depend on
    a native version of itself. When coreutils was overwritten to be built
    with fewer features, the native version it used would also be
    overwritten because the binding was tight. Now it uses the much looser
    `BuildPackages.coreutils` which is just fine as a richer build dep
    doesn't cause any problems and avoids a rebuild.

So, in conclusion I'd say the conservatism payed off. Onward to actually
raking the muck in the next PR!

[1]: https://gcc.gnu.org/onlinedocs/gcc/Environment-Variables.html
2017-01-24 11:37:56 -05:00
Jörg Thalheim
ca8ab806bb
telegraf: 1.1.2 -> 1.2.0 2017-01-24 16:14:50 +01:00
Vladimír Čunát
30a94deac5
nss: remove parameter that just got unused 2017-01-24 15:56:36 +01:00
Lancelot SIX
b00a455752 gnupg21: 2.1.17 -> 2.1.18
See http://lists.gnu.org/archive/html/info-gnu/2017-01/msg00013.html
for release announcement.
2017-01-24 15:51:14 +01:00
zimbatm
36ac7058d2 tetex: fix source urls 2017-01-24 14:46:33 +00:00
Vladimír Čunát
f8e39ec13c
nss: fetchpatch -> fetchurl
This isn't a dynamically generated patch, so it's not required,
and the hash was for unmodified patch anyway.
2017-01-24 15:43:53 +01:00
Jean-Pierre PRUNARET
fc6622a098 munin: 2.0.29 -> 2.0.30 2017-01-24 15:23:46 +01:00
Jean-Pierre PRUNARET
319879354b munin: fetchurl -> fetchFromGithub 2017-01-24 15:23:43 +01:00
Eelco Dolstra
b6adec130b Merge pull request #22093 from taku0/firefox-bin-51.0
firefox-bin: 50.1.0 -> 51.0
2017-01-24 15:17:54 +01:00
Eelco Dolstra
c2bd9cad11
sqlite: 3.15.2 -> 3.16.2 2017-01-24 14:54:19 +01:00
Eelco Dolstra
15114fc46a Merge pull request #22092 from taku0/firefox-51.0
firefox: 50.1.0 -> 51.0, firefox-esr: 45.6.0esr -> 45.7.0esr
2017-01-24 14:50:15 +01:00
Eelco Dolstra
2bf0f84f1f
nss: 3.27.2 -> 3.28.1 2017-01-24 14:49:46 +01:00
romildo
e8e5e640bb cbatticon: 1.6.4 -> 1.6.5 2017-01-24 11:43:11 -02:00
romildo
c99db543ab xfce4-whiskermenu-plugin: 1.6.1 -> 1.6.2 2017-01-24 11:33:00 -02:00
Bas van Dijk
52d44b76c1 opencv: upgrade from 3.1.0 to 3.2.0 2017-01-24 14:24:05 +01:00
taku0
9c9424d316 firefox: 50.1.0 -> 51.0, firefox-esr: 45.6.0esr -> 45.7.0esr 2017-01-24 22:10:58 +09:00
romildo
fee579701d hexchat: 2.12.3 -> 2.12.4
- Update hexchat to version 2.12.4
- Use sources from github, as the source at
http://dl.hexchat.net/hexchat/hexchat-2.12.4.tar.xz contains invalid symbolic
links in the directory 'build-aux'
- Run 'autogen.sh' to generate 'configure' and friends, as they are not
available in the distributed sources from github.
2017-01-24 11:00:41 -02:00
Eelco Dolstra
7bc801e282
curl: Apply upstream patch to fix https hangs
https://github.com/curl/curl/issues/1174

Fixes https://github.com/NixOS/nix/issues/1181.
2017-01-24 13:51:30 +01:00
Sander van der Burg
de9a4f5fb4 titaniumenv: add 6.0 SDK + bump kitchensink testcase 2017-01-24 13:22:16 +01:00
Jean-Pierre PRUNARET
11f878a0e5 add a maintainer 2017-01-24 13:05:58 +01:00
Jean-Pierre PRUNARET
86af731cf8 hubicfuse: 2.1.0 -> 3.0.0
* bump version
* fetchurl -> fetchFromGitHub
2017-01-24 13:05:58 +01:00
Eelco Dolstra
a82810c7a7
linux: Apply 9p veryloose patch to 4.9 2017-01-24 13:05:02 +01:00
Peter Simons
92b1e39e1c Merge pull request #22088 from roberth/fix-haskell-doctest-discover
haskellPackages.doctest-discover: fix
2017-01-24 12:05:47 +01:00
Robert Hensing
de8148d74c haskellPackages.doctest-discover: fix 2017-01-24 11:57:09 +01:00
Franz Pletz
7c5324f29a
nftables: disable broken xtables support 2017-01-24 11:47:34 +01:00
Arseniy Seroka
303a5a4e72 Merge pull request #22081 from ericsagnes/pkg-update/groonga
groonga: 6.1.1 -> 6.1.5
2017-01-24 13:28:09 +03:00
Sander van der Burg
4f7fe27065 titaniumenv: use Node.js 4.x for the CLI tools 2017-01-24 10:55:29 +01:00
Jörg Thalheim
4785a19444 Merge pull request #22073 from romildo/upd.pcmanfm
{lib,pcman}fm: 1.2.4 -> 1.2.5
2017-01-24 10:48:56 +01:00
Daiderd Jordan
adfb7e1f13
kwm: init at 1.1.4 2017-01-24 08:31:11 +01:00
Kamil Chmielewski
f50b61b275 pasystray: 0.5.2 -> 0.6.0 2017-01-24 07:19:04 +01:00
Eric Sagnes
4ef84c3115 groonga: 6.1.1 -> 6.1.5 2017-01-24 13:36:42 +09:00
Benjamin Staffin
be1b5c2a68 exercism: Broaden platforms to include darwin, etc 2017-01-23 21:54:38 -05:00
Corbin
46a522698e pythonPackages.twisted: Fix inotify on Linux. 2017-01-23 17:55:41 -08:00
Corbin
c90cab9d8a tahoelafs: 1.11.0 -> 1.12.1 2017-01-23 17:55:14 -08:00
Corbin
a1906fb541 pythonPackages.foolscap: 0.10.1 -> 0.12.6 2017-01-23 17:54:43 -08:00
Graham Christensen
d8464ef0e1 Merge pull request #22046 from DerTim1/nagiosplugins
NagiosPlugins: 2.1.4 -> 2.2.0, add SSL
2017-01-23 20:14:25 -05:00
Jaka Hudoklin
06ad459f5b Merge pull request #22071 from LnL7/kubeadm
kubernetes: add kubeadm command
2017-01-24 02:06:09 +01:00
Graham Christensen
5c84eaaec3 Merge pull request #21344 from mdaiter/gWrap
gwrap: remove unnecessary checks
2017-01-23 19:56:40 -05:00
Graham Christensen
ea9f5cedef Merge pull request #22030 from joncojonathan/update-jetbrains
Updated versions of various Jetbrains applications, including PHPStor…
2017-01-23 19:47:06 -05:00
Shea Levy
46bec22f66 Revert "Add function to build a ghc standalone archive (OSX/iOS only)"
Partial revert of accidental changes.

This reverts commit 4f9f00fcc9.
2017-01-23 18:37:15 -05:00
Shea Levy
4f9f00fcc9 Add function to build a ghc standalone archive (OSX/iOS only) 2017-01-23 18:35:03 -05:00
Daiderd Jordan
e026568e6c Merge pull request #22027 from LnL7/darwin-go
go: fix tests on darwin
2017-01-24 00:27:45 +01:00
Daiderd Jordan
a751959b9f Merge pull request #22075 from romildo/upd.aria2
aria2: 1.29.0 -> 1.31.0
2017-01-24 00:09:25 +01:00
Daiderd Jordan
74b8449e4e Merge pull request #22077 from romildo/upd.roboto
roboto: 2.135 -> 2.136
2017-01-24 00:01:55 +01:00
Daiderd Jordan
d5cfe927ed Merge pull request #22065 from alibabzo/update/neofetch
neofetch: 2.0.2 -> 3.0
2017-01-23 23:59:48 +01:00
Daiderd Jordan
b8fd1b7e16 Merge pull request #22078 from cransom/netdata
netdata: 1.4.0 -> 1.5.0
2017-01-23 23:49:25 +01:00
Bas van Dijk
f2afe922f4 opencv-3.1: make ippicv download URL consistent
with the URL defined in:

  https://github.com/opencv/opencv/blob/3.1.0/3rdparty/ippicv/downloader.cmake
2017-01-23 23:12:18 +01:00
Arseniy Seroka
a9a5dad531 Merge pull request #22068 from bachp/gitlab-runner-1.10.0
gitlab-runner: 1.9.0 -> 1.10.0
2017-01-24 00:54:32 +03:00
Casey Ransom
60e7f6d1b1 netdata: 1.4.0 -> 1.5.0 2017-01-23 16:49:24 -05:00
romildo
58a5a32dc9 roboto: 2.135 -> 2.136 2017-01-23 19:37:13 -02:00
Bas van Dijk
1853f174d1 opencv-3.1: get ippicv from the nix store
If ippicv can't be found in the directory:

  3rdparty/ippicv/downloads/${platform}-${md5}

it will be downloaded instead. Commit 7fedbe7 accidentally swapped the
md5 with the sha256 causing ippicv to be downloaded each time opencv
gets build. This patch fixes that.
2017-01-23 22:22:56 +01:00
romildo
69bbc78eee aria2: 1.29.0 -> 1.31.0 2017-01-23 19:16:05 -02:00
Thane Gill
bdd5b81f56 Fix syncthing-gtk hard coded paths 2017-01-23 13:08:08 -08:00
romildo
4e2d940125 pcmanfm: 1.2.4 -> 1.2.5 2017-01-23 19:01:40 -02:00
romildo
32a3f71149 libfm: 1.2.4 -> 1.2.5 2017-01-23 19:01:33 -02:00
Daiderd Jordan
0f91cdc45f
kwm: init at 4.0.4 2017-01-23 21:45:01 +01:00
Robert Helgesson
df89b9b9e9
perl-MooX-Types-MooseLike-Numeric: 1.02 -> 1.03
Also remove myself from maintainers.
2017-01-23 21:22:53 +01:00
Robert Helgesson
653a7d97cb
perl-MooseX-Types-Common: 0.001013 -> 0.001014
Also remove myself from maintainers.
2017-01-23 21:22:53 +01:00
Robert Helgesson
3c521ed1cf
svtplay-dl: 1.8 -> 1.9 2017-01-23 21:22:52 +01:00
Daiderd Jordan
0097db08d7
kubernetes: add kubeadm command 2017-01-23 21:13:31 +01:00
Kamil Chmielewski
29ac5d5209 vagrant: FIX #21365 add libxml2 and libxslt paths 2017-01-23 20:34:04 +01:00
Pascal Bach
55be1b30fc gitlab-runner: 1.9.0 -> 1.10.0 2017-01-23 20:32:17 +01:00
Daiderd Jordan
034d39b244
darwin: update shas, some sources where re-released with different metadata 2017-01-23 19:39:03 +01:00
Daiderd Jordan
7ac3f53eed Merge pull request #22051 from sifmelcara/update/crystal
crystal: 0.20.4 -> 0.20.5
2017-01-23 19:12:13 +01:00
Alistair Bill
231ecebfc6 neofetch: 2.0.2 -> 3.0 2017-01-23 17:45:29 +00:00
Tim Cuthbertson
ca38ef79e9 add nix-prefetch-source (#21734) 2017-01-23 17:44:43 +00:00
Marius Bergmann
00444cbf25 journalbeat service: init at 5.1.2
Journalbeat is a log shipper from systemd/journald to
Logstash/Elasticsearch. I added a package as well as a NixOS service
module for it.
2017-01-23 18:28:55 +01:00
Tim Steinbach
6aae00edfc rkt: 1.22.0 -> 1.23.0 2017-01-23 17:56:46 +01:00
Shea Levy
2154108270 haskell-modules/generic-builder: Fix copy-paste error 2017-01-23 11:35:59 -05:00
Arseniy Seroka
8156293bac Merge pull request #22053 from binarin/viber-6.5.5.1481
viber: 6.0.1.5 -> 6.5.5.1481
2017-01-23 18:42:11 +03:00
Domen Kožar
d4392aea0e Merge pull request #22059 from edofic/fix/fetchbower-ssl
fetchbower: fix SSL support
2017-01-23 16:15:44 +01:00
Joachim F
cc3ecce324 Merge pull request #22042 from rnhmjoj/dnscrypt-proxy
dnscrypt-proxy: 1.9.1 -> 1.9.4
2017-01-23 15:53:24 +01:00
Andraz Bajt
d72406985b
Fix fetchbower to handle SSL origins 2017-01-23 15:50:18 +01:00
Jascha Geerds
ebca0c5b1c Merge pull request #22055 from peterhoeg/u/tg
terragrunt: 0.9.1 -> 0.9.3
2017-01-23 15:46:40 +01:00
Peter Simons
24fed4d344 Merge pull request #22057 from shlevy/haskell-modules-cross-env
(haskellPackages.callPackage foo).env: Set the right env vars when cross-compiling
2017-01-23 14:30:58 +01:00
Shea Levy
b82d6b3a0a ios-cross: Expose the SDK directory via ccCross 2017-01-23 08:23:43 -05:00
Franz Pletz
33f4728a6c
youtubeDL: 2017.01.18 -> 2017.01.22 2017-01-23 14:19:28 +01:00
Alexey Lebedeff
0d7de0e431 viber: 6.0.1.5 -> 6.5.5.1481 2017-01-23 15:31:37 +03:00
rnhmjoj
a7b7d0fc3e
dnscrypt-proxy: 1.9.1 -> 1.9.4 2017-01-23 13:15:33 +01:00
taku0
28c3d7f868 firefox-bin: 50.1.0 -> 51.0 2017-01-23 21:12:22 +09:00
Matthew Daiter
cce6f35463 scotch: specify flex version 2017-01-23 13:58:08 +02:00
mingchuan
28f3b62efc crystal: 0.20.4 -> 0.20.5 2017-01-23 19:06:20 +08:00
Peter Hoeg
17af9e98ae terragrunt: 0.9.1 -> 0.9.3 2017-01-23 19:01:40 +08:00
Jaka Hudoklin
ab6f3609e1 Merge pull request #22048 from vdemeester/fix-docker-version-git-commit
Fixing the wrong Git Commit hash in docker version
2017-01-23 11:18:30 +01:00
Lancelot SIX
3b37b580db Merge pull request #22033 from jpierre03/pr-qgis
qgis: 2.16.2 -> 2.18.3

Built and tested locally.
2017-01-23 11:13:16 +01:00
Franz Pletz
e10cd27269
Merge branch 'staging' 2017-01-23 11:06:41 +01:00
Vincent Demeester
d79fa8850a
Fixing the wrong Git Commit hash in docker version
`DOCKER_GITCOMMIT` needs to match the tagged commit used to build the
binary. The current commit refers to 1.12.1 and wasn't update each
time we updated the package. Using a variable near the version and
adding a comment so we don't forget to update next time.

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2017-01-23 10:32:17 +01:00
Tim Digel
016bec0e5e nagiosPluginsOfficial: 2.1.4 -> 2.2.0 2017-01-23 08:56:30 +01:00
Tim Digel
cfe4196696 nagiosPluginsOfficial: configure with ssl 2017-01-23 08:56:30 +01:00
rnhmjoj
d79ea39d04
pdns-recursor: init at 4.0.4 2017-01-23 08:09:51 +01:00
Graham Christensen
13d6681ce7 release.nix: Only build Only build bootstrap tools when their system is supported 2017-01-23 00:08:21 +01:00
Shea Levy
0ff6b6fc0f (haskellPackages.callPackage foo).env: Set the right env vars when cross-compiling 2017-01-22 17:05:19 -05:00
Vladimír Čunát
df67f58fbf
gtk3: move gtk-update-icon-cache to the main output
This is basically what aa0fa19373 was for gtk2 and Xfce.
Fixes #20874, though I haven't tested it directly.
2017-01-22 22:57:52 +01:00
Jonathan Haddock
654167e17f Updated versions of various Jetbrains applications, including PHPStorm, IntelliJ, PyCharm.
clion                 2016.3   -> 2016.3.2
datagrip	      2016.3.2 -> 2016.3.2
idea-community        2016.3.2 -> 2016.3.3
idea-ultimate         2016.3.2 -> 2016.3.3
pycharm-community     2016.3   -> 2016.3.2
pycharm-professional  2016.3   -> 2016.3.2
phpstorm              2016.3   -> 2016.3.2
ruby-mine              2016.2.5 -> 2016.3.1
webstorm              2016.3.1 -> 2016.3.2
2017-01-22 21:29:11 +00:00
Alistair Bill
6a87904296 msgpack-tools: init at 0.6 2017-01-22 21:11:06 +00:00
Alistair Bill
15b4a37027 neofetch: init at 2.0.2 2017-01-22 21:46:31 +01:00
Tim Steinbach
fc8233a64f
kernel: 4.4.43 -> 4.4.44 2017-01-22 12:11:50 -05:00