summary refs log tree commit diff
path: root/pkgs
Commit message (Collapse)AuthorAge
* cc-wrapper: Remove unneeded crossAttrsJohn Ericson2017-01-24
|
* top-level: Lay the groundwork for `{build,host,target}Platform`John Ericson2017-01-24
| | | | | | | | | | | | The long term goal is a big replace: { inherit system platform; } => buildPlatform crossSystem => hostPlatform stdenv.cross => targetPlatform And additionally making sure each is defined even when not cross compiling. This commit refactors the bootstrapping code along that vision, but leaves the old identifiers with their null semantics in place so packages can be modernized incrementally.
* coreutils: Fix indentation after removing `self` in `buildPackages` commitDavid Grayson2017-01-24
|
* libiconv: TEMP force building library improperly for target plat like libcJohn Ericson2017-01-24
|
* openssl: Output-santizing hack properly uses native perl againJohn Ericson2017-01-24
|
* coreutils: Use `buildPackages` instead of `self` hack for native versionJohn Ericson2017-01-24
|
* top-level: Introduce `buildPackages` for resolving build-time depsJohn Ericson2017-01-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [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
* Merge pull request #22088 from roberth/fix-haskell-doctest-discoverPeter Simons2017-01-24
|\ | | | | haskellPackages.doctest-discover: fix
| * haskellPackages.doctest-discover: fixRobert Hensing2017-01-24
| |
* | nftables: disable broken xtables supportFranz Pletz2017-01-24
|/
* Merge pull request #22081 from ericsagnes/pkg-update/groongaArseniy Seroka2017-01-24
|\ | | | | groonga: 6.1.1 -> 6.1.5
| * groonga: 6.1.1 -> 6.1.5Eric Sagnes2017-01-24
| |
* | titaniumenv: use Node.js 4.x for the CLI toolsSander van der Burg2017-01-24
| |
* | Merge pull request #22073 from romildo/upd.pcmanfmJörg Thalheim2017-01-24
|\ \ | | | | | | {lib,pcman}fm: 1.2.4 -> 1.2.5
| * | pcmanfm: 1.2.4 -> 1.2.5romildo2017-01-23
| | |
| * | libfm: 1.2.4 -> 1.2.5romildo2017-01-23
| | |
* | | exercism: Broaden platforms to include darwin, etcBenjamin Staffin2017-01-23
| | |
* | | Merge pull request #22046 from DerTim1/nagiospluginsGraham Christensen2017-01-23
|\ \ \ | | | | | | | | NagiosPlugins: 2.1.4 -> 2.2.0, add SSL
| * | | nagiosPluginsOfficial: 2.1.4 -> 2.2.0Tim Digel2017-01-23
| | | |
| * | | nagiosPluginsOfficial: configure with sslTim Digel2017-01-23
| | |/ | |/|
* | | Merge pull request #22071 from LnL7/kubeadmJaka Hudoklin2017-01-24
|\ \ \ | | | | | | | | kubernetes: add kubeadm command
| * | | kubernetes: add kubeadm commandDaiderd Jordan2017-01-23
| | | |
* | | | Merge pull request #21344 from mdaiter/gWrapGraham Christensen2017-01-23
|\ \ \ \ | | | | | | | | | | gwrap: remove unnecessary checks
| * | | | gwrap: remove unnecessary checksMatthew Daiter2016-12-25
| | | | |
* | | | | Merge pull request #22030 from joncojonathan/update-jetbrainsGraham Christensen2017-01-23
|\ \ \ \ \ | | | | | | | | | | | | Updated versions of various Jetbrains applications, including PHPStor…
| * | | | | Updated versions of various Jetbrains applications, including PHPStorm, ↵Jonathan Haddock2017-01-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | Revert "Add function to build a ghc standalone archive (OSX/iOS only)"Shea Levy2017-01-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Partial revert of accidental changes. This reverts commit 4f9f00fcc9ba5fce1bf476bf3e3200bdbed00f48.
* | | | | | Add function to build a ghc standalone archive (OSX/iOS only)Shea Levy2017-01-23
| | | | | |
* | | | | | Merge pull request #22027 from LnL7/darwin-goDaiderd Jordan2017-01-24
|\ \ \ \ \ \ | | | | | | | | | | | | | | go: fix tests on darwin
| * | | | | | go_1_6: disable x509 tests on darwinDaiderd Jordan2017-01-22
| | | | | | |
| * | | | | | go_bootstrap: fix tests on darwinDaiderd Jordan2017-01-22
| | | | | | |
* | | | | | | Merge pull request #22075 from romildo/upd.aria2Daiderd Jordan2017-01-24
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | aria2: 1.29.0 -> 1.31.0
| * | | | | | | aria2: 1.29.0 -> 1.31.0romildo2017-01-23
| | |_|_|_|_|/ | |/| | | | |
* | | | | | | Merge pull request #22077 from romildo/upd.robotoDaiderd Jordan2017-01-24
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | roboto: 2.135 -> 2.136
| * | | | | | | roboto: 2.135 -> 2.136romildo2017-01-23
| | | | | | | |
* | | | | | | | Merge pull request #22065 from alibabzo/update/neofetchDaiderd Jordan2017-01-23
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | neofetch: 2.0.2 -> 3.0
| * | | | | | | | neofetch: 2.0.2 -> 3.0Alistair Bill2017-01-23
| | | | | | | | |
* | | | | | | | | Merge pull request #22078 from cransom/netdataDaiderd Jordan2017-01-23
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | netdata: 1.4.0 -> 1.5.0
| * | | | | | | | | netdata: 1.4.0 -> 1.5.0Casey Ransom2017-01-23
| | |/ / / / / / / | |/| | | | | | |
* | | | | | | | | opencv-3.1: make ippicv download URL consistentBas van Dijk2017-01-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with the URL defined in: https://github.com/opencv/opencv/blob/3.1.0/3rdparty/ippicv/downloader.cmake
* | | | | | | | | Merge pull request #22068 from bachp/gitlab-runner-1.10.0Arseniy Seroka2017-01-24
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | | gitlab-runner: 1.9.0 -> 1.10.0
| * | | | | | | | gitlab-runner: 1.9.0 -> 1.10.0Pascal Bach2017-01-23
| | |_|_|_|_|/ / | |/| | | | | |
* | | | | | | | opencv-3.1: get ippicv from the nix storeBas van Dijk2017-01-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | | perl-MooX-Types-MooseLike-Numeric: 1.02 -> 1.03Robert Helgesson2017-01-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also remove myself from maintainers.
* | | | | | | | perl-MooseX-Types-Common: 0.001013 -> 0.001014Robert Helgesson2017-01-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also remove myself from maintainers.
* | | | | | | | svtplay-dl: 1.8 -> 1.9Robert Helgesson2017-01-23
|/ / / / / / /
* | | | | | | darwin: update shas, some sources where re-released with different metadataDaiderd Jordan2017-01-23
| | | | | | |
* | | | | | | Merge pull request #22051 from sifmelcara/update/crystalDaiderd Jordan2017-01-23
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | crystal: 0.20.4 -> 0.20.5
| * | | | | | | crystal: 0.20.4 -> 0.20.5mingchuan2017-01-23
| | |_|_|_|_|/ | |/| | | | |
* | | | | | | add nix-prefetch-source (#21734)Tim Cuthbertson2017-01-23
| | | | | | |