summary refs log tree commit diff
path: root/pkgs/stdenv
AgeCommit message (Collapse)AuthorFilesLines
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-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-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.
2014-03-17Explicitly require Nix 1.6Eelco Dolstra1-6/+0
People using Nix < 1.6 previously got an unhelpful "infinite recursion" error.
2014-03-03Move generation of coverage reports from nixos/lib/testing to releaseToolsEelco Dolstra1-39/+1
Also, turn some stdenv adapters into setup hooks.
2014-02-05Turn the coverage analysis stdenv adapters into setup hooksEelco Dolstra2-25/+3
Stdenv adapters are kinda weird and un-idiomatic (especially when they don't actually change stdenv). It's more idiomatic to say buildInputs = [ makeCoverageAnalysisReport ];
2014-02-05addCoverageInstrumentation: Set NIX_CFLAGS_COMPILE as an attributeEelco Dolstra1-17/+14
This allows it to show up in nix-shell.
2014-02-05stdenv: SimplifyEelco Dolstra1-42/+42
2014-02-05Apply makeOverridable to stdenvEelco Dolstra2-168/+154
This removes the need for hacks like stdenv.regenerate. It also ensures that overrideGCC is now stackable (so ‘stdenv = useGoldLinker clangStdenv’ works).
2014-02-05Add a stdenv adapter ‘useGoldLinker’ to force use of GoldEelco Dolstra2-11/+25
2014-01-28stdenv-linux: Fix binutils overrideEelco Dolstra1-2/+3
This ensures that pkgs.binutils equals the binutils used in the final stdenv, as intended.
2014-01-20stdenv/setup.sh: add .gz extension to links to .gz man pagesVladimír Čunát1-1/+1
The links weren't broken since 0a44a09, but man showed garbage. Tested on several packages (sudo, dosfstools, xz).
2014-01-17fixupPhase: Handle the case where $prefix doesn't existEelco Dolstra1-1/+1
http://hydra.nixos.org/build/8149154
2014-01-14stdenv: In the fixupPhase, make the output writable firstEelco Dolstra1-3/+3
Cherry-picked from 1d11c1dc48a3849f447350681ebba9d8cb97b979 in the multiple-outputs branch.
2014-01-14Merge pull request #1516 from ttuegel/globPeter Simons1-2/+2
Don't split paths with spaces
2014-01-12Merge master into stdenv-updatesVladimír Čunát1-1/+1
Conflicts: pkgs/development/lisp-modules/stumpwm/default.nix (auto-solved) pkgs/top-level/all-packages.nix (trivial)
2014-01-11Don't split paths with spacesThomas Tuegel1-2/+2
setup.sh uses the anti-pattern `for f in $(find ...); do` in several places. `find` returns one path per line, but `for` splits its arguments by words, so paths which contain spaces are incorrectly split! The correct way is `find ... | while read f; do`
2014-01-07stdenv-linux: Prevent dependency on bootstrap-tools in the final binutilsEelco Dolstra1-17/+17
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.
2014-01-07stdenv: Prepend SHELL=... to makeFlagsEelco Dolstra1-2/+2
If it's appended, the user cannot override SHELL.