about summary refs log tree commit diff
path: root/pkgs/stdenv
AgeCommit message (Collapse)AuthorFilesLines
2014-08-30Revert "stdenv/setup.sh: unbreak *.lz sources on darwin"Eelco Dolstra1-4/+0
This reverts commit fcafdd27616b91049c506441802b9cfe970388d4. We're trying to modularise stdenv, not add more ad-hoc compression support.
2014-08-30stdenv/setup.sh: unbreak *.lz sources on darwinVladimír Čunát1-0/+4
2014-08-26Fix zlib handling in stdenvLinuxGergely Risko1-2/+6
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.
2014-08-25Fix evaluationEelco Dolstra1-1/+1
2014-08-24IndentationEelco Dolstra1-25/+28
2014-08-24Refactor stages to only ever refer to the previous stageGergely Risko1-13/+18
This commit doesn't change the outhash (or drvhash) of the stdenv.
2014-08-24Move wrapGCC helper upGergely Risko1-12/+13
This commit doesn't change the outhash (or drvhash) of the stdenv.
2014-08-24Refactor stage handling in stdenvLinuxGergely Risko1-107/+80
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.
2014-08-24Refactor wrapGCC in stdenvLinuxGergely Risko1-12/+17
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.
2014-08-24Refactor fetchurl handling in stdenvLinuxGergely Risko1-19/+10
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.
2014-08-14Merge branch 'master' into stagingLuca Bruno1-7/+18
2014-08-14Merge #2823: better cygwin support, also add x86_64Vladimír Čunát1-1/+2
Conflicts (easy): pkgs/development/interpreters/perl/5.16/default.nix
2014-08-12Merge pull request #2455 from bjornfor/helpful-messages-when-refusing-evalVladimír Čunát1-7/+18
More helpful message when refusing to evaluate "broken" package
2014-07-30Set CONFIG_SHELL to stdenv.shell in the default builder, just like SHELLMichael Raskin1-0/+1
2014-07-28DohEelco Dolstra1-1/+1
2014-07-28Export SDKROOTEelco Dolstra1-1/+1
2014-07-24$xcodePath -> $SDKROOTEelco Dolstra1-3/+3
SDKROOT is standard. In particular, this fixes the cmake build on Mac OS X 10.9.
2014-07-23stdenv-darwin: Shut up some warnings from SDK headersEelco Dolstra1-2/+1
The Carbon headers spew out zillions of multichar / deprecations warnings, which isn't very helpful. So turn them off.
2014-07-02Set MACOSX_DEPLOYMENT_TARGETEelco Dolstra1-9/+7
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.
2014-07-01stdenv: Fix __ignoreNullsEelco Dolstra1-2/+1
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).
2014-07-01Darwin: Search for libraries in $sdk/usr/libEelco Dolstra1-6/+4
This required adding a new environment variable NIX_LDFLAGS_AFTER that ensures that the -L.../usr/lib flag happens last.
2014-07-01Darwin: Use xcrun to get the path to the SDKEelco Dolstra1-1/+8
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.
2014-06-30Add a deprecation warning to ensureDirEelco Dolstra1-0/+1
2014-06-30Another attempt to eradicate ensureDirEelco Dolstra1-1/+1
See c556a6ea46e71e1907d78b71fab36df30297b3ad.
2014-06-30Remove the unmaintained (and AFAIK unused) stdenv for mingwEelco Dolstra19-1450/+10
2014-06-21Factor out allowUnfree,allowBroken help messageBjørn Forsman1-15/+16
DRY.
2014-06-21More helpful message when refusing to evaluate "broken" packageBjørn Forsman1-2/+12
A "broken" package is one where either "meta.broken = true" or build platform != meta.platforms.
2014-06-17Don't suggest using --arg config '{ allowUnfree = true; }'Eelco Dolstra1-3/+1
This doesn't work when using the Nixpkgs/NixOS channel. Issue #2998.
2014-06-15Merge recent masterVladimír Čunát1-1/+10
2014-06-14Allow specifying allowUnfreePredicate instead of allowUnfree. The predicate ↵Michael Raskin1-1/+10
will have access to the arguments of mkDerivation call. Should be an improvement for #2188
2014-06-09Merge recent master into p/stdenvVladimír Čunát1-0/+1
Merged just before the pypi update, as it seems to cause problems on Hydra.
2014-05-29Fixes to make basic builds on Cygwin work again + additions to support ↵Sander van der Burg1-1/+2
x86_64-cygwin
2014-05-29Change stdenv on darwin to not set NIX_ENFORCE_PURITYJohn Wiegley1-0/+1
2014-05-15fix paxmark on non-linux (a bug in grsecurity PR #1187)Vladimír Čunát2-3/+9
2014-05-15grsecurity: Add paxctl, paxmark and stdenv.needsPax to stdenvRicardo M. Correia3-2/+21
2014-05-03s/config.allowUnfree = true/allowUnfree = true/Domen Kožar1-1/+1
2014-04-22Typo/commentEelco Dolstra1-1/+3
2014-04-20Merge branch 'systemd-update'Eelco Dolstra1-10/+8
2014-04-20Move filesEelco Dolstra7-11/+8
2014-04-20Move stdenv bootstrap binaries out of the treeEelco Dolstra28-175/+17
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".
2014-04-20Use <nix/fetchurl.nix> to download the bootstrap toolsEelco Dolstra2-22/+1
2014-04-18Fix indentationEelco Dolstra1-10/+8
2014-04-14typoDomen Kožar1-1/+1
2014-04-14fix typoDomen Kožar1-1/+1
2014-04-14Make the user aware of the allowUnfree option.Alexander Kjeldaas1-1/+10
2014-04-09Add a flag ‘config.allowBroken’Eelco Dolstra1-1/+1
2014-04-09Replace $HYDRA_DISALLOW_UNFREE with $NIXPKGS_ALLOW_UNFREEEelco Dolstra1-1/+1
We've never used this environment variable in Hydra (except for a few days). This is also more consistent with $NIXPKGS_ALLOW_BROKEN.
2014-04-09Disable allowUnfree by defaultEelco Dolstra1-1/+1
Fixes #2134.
2014-04-02stdenv/setup.sh: make substitute* not drop EOF newlineVladimír Čunát1-2/+4
This should solve #1982.
2014-04-02Merge #1901: add preFixupPhases to stdenv; for gsettingsVladimír Čunát2-2/+2
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.