summary refs log tree commit diff
path: root/pkgs/stdenv/linux
Commit message (Collapse)AuthorAge
* Merge branch 'staging'Vladimír Čunát2014-12-26
|\
| * Use updated bootstrap binariesEelco Dolstra2014-12-18
| | | | | | | | Fixes #5335.
| * boostrap-tools: fix curl not finding libnss* and libresolvJaka Hudoklin2014-12-15
| |
* | Change occurrences of gcc to the more general ccJohn Wiegley2014-12-26
|/ | | | | This is done for the sake of Yosemite, which does not have gcc, and yet this change is also compatible with Linux.
* Merge remote-tracking branch 'origin/glibc-2.20' into stagingEelco Dolstra2014-11-16
|\
| * linux-headers: Update to 3.12.32Eelco Dolstra2014-11-15
| | | | | | | | | | We can do this because bootstrap-tools contains an unxz program now (via busybox).
| * Update bootstrap tools with the fix for GCC bug 61801Eelco Dolstra2014-11-03
| |
| * Update the stdenv-linux bootstrap toolsEelco Dolstra2014-10-29
| |
| * busybox: Optionally use uclibcEelco Dolstra2014-10-29
| |
| * Update the stdenv bootstrap tools generatorEelco Dolstra2014-10-29
| | | | | | | | | | | | | | | | The static curl program is gone, replaced by curl inside of the bootstrap tools tarball. Also, we generate a .tar.xz archive rather than .cpio.bz2, making the download smaller. The separate {sh,cpio,mkdir,ln,bzip2} programs have been replaced by a single busybox program.
| * Remove tabs/whitespaceEelco Dolstra2014-10-29
| |
* | Fix stdenv allowedRequisites checkEelco Dolstra2014-11-06
|/ | | | | It has to include the default build inputs now (like "compress-man-pages.sh").
* stdenv-linux: Turn allowedRequisites back onEelco Dolstra2014-10-06
|
* pcre: Update to 8.36Eelco Dolstra2014-10-06
|
* stdenv-linux: Disable use of allowedRequisitesEelco Dolstra2014-10-06
| | | | Sadly, it breaks stdenv adapters like overrideGCC and useGoldLinker.
* Fix gcc.override (required by stdenv adapters like useGoldLinker)Eelco Dolstra2014-10-03
|
* Cleanup legacy settings in stdenvLinuxGergely Risko2014-09-14
| | | | | This causes a mass rebuild, because it changes the hashes of stdenvLinux, as it enable tests for coreutils.
* Cleanup perl logic in stdenvLinuxGergely Risko2014-09-14
| | | | | | | | | Make thread disabling explicit. This changes the semantics of the perl derivation, so on other platforms it may require setting enableThreading = false This commit doesn't change the derivation or out hash of stdenvLinux.
* pkgs/stdenv/linux: stageFun refactoringGergely Risko2014-09-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The stage3.extraAttrs.glibc argument was required for this whole build procedure to correctly work and it was very-very hard to see why (the comment said something about gcc47, but we're using gcc48 now). This stage3.extraAttrs.glibc goes into stage3.stdenv.glibc after some arg passing, and in pkgs/development/compiler/gcc an (stdenv ? glibc) boolean expression decides to override /usr/include during the GCC build. All of our stages are built with glibc, so this refactoring moves this repeating specification of glibc (once for gcc wrapper and once here for extraAttrs) to stageFun, by getting rid of wrapGCC, as we were using that in all of the stages anyways. Incidentally it turned out, that this stdenv.glibc inconsistency caused some random other stuff to behave differently: - stage1.pkgs.perl has threading disabled, - stage4.pkgs.coreutils (the production coreutils) has testing disabled. Leave this historical accidents as they are in this commit, so the scope of this commit can stay as a refactoring only, these issues will be fixed in separate commits. This commit doesn't change the derivation or the output hash of stdenvLinux.
* Do allowed requisites check in stdenv/linuxGergely Risko2014-09-14
| | | | | | | | | | | | | | Use the new allowedRequisites feature in stdenvLinux. This way we properly check that the end-result stdenv of the quite complicated multi-stage stdenvLinux building procedure is sane, and only depends on the stuff that we know about. Alternative would be to just disallowRequisites bootstrapTools, which is the most common offender, but we have had other offenders in the past. For these checks to actually fire, you currently have to use nixUnstable, as the necessary feature will be released in Nix 1.8.
* Fix zlib handling in stdenvLinuxGergely Risko2014-09-14
| | | | | | | | | Previously stdenv depended on two different zlibs and there was a third one in the top-level package set for other purposes. This commit merges all this zlibs to one. Actually this have been committed once as 1f2b636, but then got lost while resolving merge conflicts. Hopefully it survives this time.
* Cosmetic renaming: extraPath -> extraBuildInputsGergely Risko2014-09-14
|
* Remove gcc and zlib dependency on bootstrap-toolsGergely Risko2014-09-14
| | | | | | The 82797f98f2917e164db8691b516ed7f354b40ff4 merge caused this issue while trying to merge the staging refactorings with the modular-stdenv feature branch.
* Cosmetic fix in pkgs/stdenv/linux/default.nixGergely Risko2014-09-11
| | | | | | | Keep the rule that every stage only refers to the previous stage for clarity. This commit doesn't change derivation or output hashes.
* Fix testability of pkgs/stdenv/linux/default.nixGergely Risko2014-09-11
| | | | | | | | | The point here is that it's always possible to debug this staging logic by using `nix-repl pkgs/stdenv/linux'. The modular-stdenv change introduced the lib dependency, which we now default to ../../../lib. No derivation or out hashes of stdenvLinux is changed by this commit.
* Merge branch 'staging' into modular-stdenvVladimír Čunát2014-09-08
|\ | | | | | | | | | | | | Conflicts: pkgs/development/interpreters/perl/5.10/setup-hook.sh pkgs/development/interpreters/perl/5.8/setup-hook.sh pkgs/stdenv/linux/default.nix
| * Fix zlib handling in stdenvLinuxGergely Risko2014-08-26
| | | | | | | | | | | | Previously stdenv depended on two different zlibs and there was a third one in the top-level package set for other purposes. This commit merges all this zlibs to one.
| * Fix evaluationEelco Dolstra2014-08-25
| |
| * IndentationEelco Dolstra2014-08-24
| |
| * Refactor stages to only ever refer to the previous stageGergely Risko2014-08-24
| | | | | | | | This commit doesn't change the outhash (or drvhash) of the stdenv.
| * Move wrapGCC helper upGergely Risko2014-08-24
| | | | | | | | This commit doesn't change the outhash (or drvhash) of the stdenv.
| * Refactor stage handling in stdenvLinuxGergely Risko2014-08-24
| | | | | | | | | | | | | | | | | | | | Make stages explicit and generalize the pattern of having an stdenv and a pkgs collection for all stages to a common stage generating function called stageFun. Rewrite all stage handling with this new function. This commit doesn't change the outhash (or drvhash) of the stdenv.
| * Refactor wrapGCC in stdenvLinuxGergely Risko2014-08-24
| | | | | | | | | | | | | | | | | | | | Don't use default parameter values, to make the callsites more readable and for easier debuggability/changability. Also reordered the callsites' parameter ordering for consistency. In the final stdenv don't repeat the name of the shell. This commit doesn't change the outhash (or drvhash) of the stdenv.
| * Refactor fetchurl handling in stdenvLinuxGergely Risko2014-08-24
| | | | | | | | | | | | | | All the different stages of stdenv had the fetchurl inherited anyways, so make this generic in stdenvBootFun. This commit doesn't change the outhash (or drvhash) of the stdenv.
* | Prevent an unnecessary evaluation of libEelco Dolstra2014-08-09
| |
* | Move RPATH shrinking from stdenv to a setup hook provided by patchelfEelco Dolstra2014-08-09
|/
* Another attempt to eradicate ensureDirEelco Dolstra2014-06-30
| | | | See c556a6ea46e71e1907d78b71fab36df30297b3ad.
* grsecurity: Add paxctl, paxmark and stdenv.needsPax to stdenvRicardo M. Correia2014-05-15
|
* Move filesEelco Dolstra2014-04-20
|
* Move stdenv bootstrap binaries out of the treeEelco Dolstra2014-04-20
| | | | | | | | | | | | | | | | | | | | | Commit 986f36194650e2a41451cbfb9f29ce1c66a62df3 started to use <nix/fetchurl.nix> to "download" the bootstrap binaries from the Nixpkgs tree, using the file:/// scheme. This has really bad consequences: * It makes any derivation depend on the path of the Nixpkgs tree. So evaluating a package will produce a different .drv file when run from different locations. No wonder Hydra evaluation has been so slow lately: for every Nixpkgs evaluation, it had to create tens of thousands of .drv files, even if nothing had changed. * It requires the builder to have file system access to the Nixpkgs tree. So if your tree is in your home directory, the stdenv bootstrap would probably fail. So now the binaries are downloaded from tarballs.nixos.org. Also dropped PowerPC "support".
* Use <nix/fetchurl.nix> to download the bootstrap toolsEelco Dolstra2014-04-20
|
* Add a stdenv adapter ‘useGoldLinker’ to force use of GoldEelco Dolstra2014-02-05
|
* stdenv-linux: Fix binutils overrideEelco Dolstra2014-01-28
| | | | | This ensures that pkgs.binutils equals the binutils used in the final stdenv, as intended.
* Merge master into stdenv-updatesVladimír Čunát2014-01-12
|\ | | | | | | | | | | Conflicts: pkgs/development/lisp-modules/stumpwm/default.nix (auto-solved) pkgs/top-level/all-packages.nix (trivial)
| * Remove non-kernel-specific klibc derivationShea Levy2014-01-05
| | | | | | | | Signed-off-by: Shea Levy <shea@shealevy.com>
* | stdenv-linux: Prevent dependency on bootstrap-tools in the final binutilsEelco Dolstra2014-01-07
| | | | | | | | | | | | | | | | Binutils nowadays contains ld.gold, which depends on libstdc++. So it needs to be built with the new GCC rather than the one from bootstrap-tools. Issue #1469.
* | Merge deterministicStdenv into the default stdenvEelco Dolstra2014-01-07
| | | | | | | | | | | | This means that (on Linux) strip uses "--enable-deterministic-archives" and ld uses the BFD_DETERMINISTIC_OUTPUT flag.
* | Remove gcc 4.7Eelco Dolstra2014-01-07
| | | | | | | | | | There is really no reason to keep it around, given that it was never the default in Nixpkgs.
* | Merge master into stdenv-updatesVladimír Čunát2013-07-08
|\| | | | | | | | | | | | | Conflicts (simple): pkgs/development/tools/misc/binutils/default.nix pkgs/tools/package-management/disnix/default.nix pkgs/top-level/all-packages.nix
| * nixos.org/tarballs -> tarballs.nixos.orgEelco Dolstra2013-06-25
| | | | | | | | | | It's currently the same machine, but tarballs.nixos.org should become an S3/CloudFront site eventually.