summary refs log tree commit diff
path: root/pkgs/stdenv
Commit message (Collapse)AuthorAge
* Revert "stdenv/setup.sh: unbreak *.lz sources on darwin"Eelco Dolstra2014-08-30
| | | | | This reverts commit fcafdd27616b91049c506441802b9cfe970388d4. We're trying to modularise stdenv, not add more ad-hoc compression support.
* stdenv/setup.sh: unbreak *.lz sources on darwinVladimír Čunát2014-08-30
|
* 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.
* Merge branch 'master' into stagingLuca Bruno2014-08-14
|\
| * Merge pull request #2455 from bjornfor/helpful-messages-when-refusing-evalVladimír Čunát2014-08-12
| |\ | | | | | | More helpful message when refusing to evaluate "broken" package
| | * Factor out allowUnfree,allowBroken help messageBjørn Forsman2014-06-21
| | | | | | | | | | | | DRY.
| | * More helpful message when refusing to evaluate "broken" packageBjørn Forsman2014-06-21
| | | | | | | | | | | | | | | A "broken" package is one where either "meta.broken = true" or build platform != meta.platforms.
* | | Merge #2823: better cygwin support, also add x86_64Vladimír Čunát2014-08-14
|\ \ \ | |/ / |/| | | | | | | | Conflicts (easy): pkgs/development/interpreters/perl/5.16/default.nix
| * | Fixes to make basic builds on Cygwin work again + additions to support ↵Sander van der Burg2014-05-29
| | | | | | | | | | | | x86_64-cygwin
* | | Set CONFIG_SHELL to stdenv.shell in the default builder, just like SHELLMichael Raskin2014-07-30
| | |
* | | DohEelco Dolstra2014-07-28
| | |
* | | Export SDKROOTEelco Dolstra2014-07-28
| | |
* | | $xcodePath -> $SDKROOTEelco Dolstra2014-07-24
| | | | | | | | | | | | | | | SDKROOT is standard. In particular, this fixes the cmake build on Mac OS X 10.9.
* | | stdenv-darwin: Shut up some warnings from SDK headersEelco Dolstra2014-07-23
| | | | | | | | | | | | | | | The Carbon headers spew out zillions of multichar / deprecations warnings, which isn't very helpful. So turn them off.
* | | Set MACOSX_DEPLOYMENT_TARGETEelco Dolstra2014-07-02
| | | | | | | | | | | | | | | | | | | | | | | | This variable sets the minimal Mac OS X version required for running binaries produced by the Darwin toolchain. Since it defaults to the version of the user's SDK, setting it explicitly should make our builds more deterministic. It's now set to 10.6 because that's what hydra.nixos.org runs.
* | | stdenv: Fix __ignoreNullsEelco Dolstra2014-07-01
| | | | | | | | | | | | | | | | | | Commit 262c21ed464a2593b54ec274a3b84083c0795f2d purported to enable ignoreNulls, but it was bogus because it set the flag on the wrong derivation (i.e. stdenv rather than the result of mkDerivation).
* | | Darwin: Search for libraries in $sdk/usr/libEelco Dolstra2014-07-01
| | | | | | | | | | | | | | | This required adding a new environment variable NIX_LDFLAGS_AFTER that ensures that the -L.../usr/lib flag happens last.
* | | Darwin: Use xcrun to get the path to the SDKEelco Dolstra2014-07-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Recent versions of Xcode don't install headers in /usr/include but in a directory like /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include So use that instead, falling back to /usr/include in case of an older version of Xcode.
* | | Add a deprecation warning to ensureDirEelco Dolstra2014-06-30
| | |
* | | Another attempt to eradicate ensureDirEelco Dolstra2014-06-30
| | | | | | | | | | | | See c556a6ea46e71e1907d78b71fab36df30297b3ad.
* | | Remove the unmaintained (and AFAIK unused) stdenv for mingwEelco Dolstra2014-06-30
| |/ |/|
* | Don't suggest using --arg config '{ allowUnfree = true; }'Eelco Dolstra2014-06-17
| | | | | | | | | | | | This doesn't work when using the Nixpkgs/NixOS channel. Issue #2998.
* | Merge recent masterVladimír Čunát2014-06-15
|\ \
| * | Allow specifying allowUnfreePredicate instead of allowUnfree. The predicate ↵Michael Raskin2014-06-14
| | | | | | | | | | | | will have access to the arguments of mkDerivation call. Should be an improvement for #2188
* | | Merge recent master into p/stdenvVladimír Čunát2014-06-09
|\| | | | | | | | | | | Merged just before the pypi update, as it seems to cause problems on Hydra.
| * | Change stdenv on darwin to not set NIX_ENFORCE_PURITYJohn Wiegley2014-05-29
| |/
* | fix paxmark on non-linux (a bug in grsecurity PR #1187)Vladimír Čunát2014-05-15
| |
* | grsecurity: Add paxctl, paxmark and stdenv.needsPax to stdenvRicardo M. Correia2014-05-15
|/
* s/config.allowUnfree = true/allowUnfree = true/Domen Kožar2014-05-03
|
* Typo/commentEelco Dolstra2014-04-22
|
* Merge branch 'systemd-update'Eelco Dolstra2014-04-20
|\
| * Fix indentationEelco Dolstra2014-04-18
| |
* | 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
|/
* typoDomen Kožar2014-04-14
|
* fix typoDomen Kožar2014-04-14
|
* Make the user aware of the allowUnfree option.Alexander Kjeldaas2014-04-14
|
* Add a flag ‘config.allowBroken’Eelco Dolstra2014-04-09
|
* Replace $HYDRA_DISALLOW_UNFREE with $NIXPKGS_ALLOW_UNFREEEelco Dolstra2014-04-09
| | | | | We've never used this environment variable in Hydra (except for a few days). This is also more consistent with $NIXPKGS_ALLOW_BROKEN.
* Disable allowUnfree by defaultEelco Dolstra2014-04-09
| | | | Fixes #2134.
* stdenv/setup.sh: make substitute* not drop EOF newlineVladimír Čunát2014-04-02
| | | | This should solve #1982.
* Merge #1901: add preFixupPhases to stdenv; for gsettingsVladimír Čunát2014-04-02
| | | | | Without this stdenv change it seems difficult to fix some glib's gsettings issues, as the folders in question may (not) be created in installPhase.