about summary refs log tree commit diff
path: root/pkgs/stdenv
Commit message (Collapse)AuthorAge
* 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.
* Explicitly require Nix 1.6Eelco Dolstra2014-03-17
| | | | | People using Nix < 1.6 previously got an unhelpful "infinite recursion" error.
* Move generation of coverage reports from nixos/lib/testing to releaseToolsEelco Dolstra2014-03-03
| | | | Also, turn some stdenv adapters into setup hooks.
* Turn the coverage analysis stdenv adapters into setup hooksEelco Dolstra2014-02-05
| | | | | | | Stdenv adapters are kinda weird and un-idiomatic (especially when they don't actually change stdenv). It's more idiomatic to say buildInputs = [ makeCoverageAnalysisReport ];
* addCoverageInstrumentation: Set NIX_CFLAGS_COMPILE as an attributeEelco Dolstra2014-02-05
| | | | This allows it to show up in nix-shell.
* stdenv: SimplifyEelco Dolstra2014-02-05
|
* Apply makeOverridable to stdenvEelco Dolstra2014-02-05
| | | | | | This removes the need for hacks like stdenv.regenerate. It also ensures that overrideGCC is now stackable (so ‘stdenv = useGoldLinker clangStdenv’ works).
* 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.
* stdenv/setup.sh: add .gz extension to links to .gz man pagesVladimír Čunát2014-01-20
| | | | | The links weren't broken since 0a44a09, but man showed garbage. Tested on several packages (sudo, dosfstools, xz).
* fixupPhase: Handle the case where $prefix doesn't existEelco Dolstra2014-01-17
| | | | http://hydra.nixos.org/build/8149154
* stdenv: In the fixupPhase, make the output writable firstEelco Dolstra2014-01-14
| | | | | Cherry-picked from 1d11c1dc48a3849f447350681ebba9d8cb97b979 in the multiple-outputs branch.
* Merge pull request #1516 from ttuegel/globPeter Simons2014-01-14
|\ | | | | Don't split paths with spaces
| * Don't split paths with spacesThomas Tuegel2014-01-11
| | | | | | | | | | | | | | 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`
* | 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.
* | stdenv: Prepend SHELL=... to makeFlagsEelco Dolstra2014-01-07
| | | | | | | | If it's appended, the user cannot override SHELL.
* | 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.
* | stdenv: Fix indentationEelco Dolstra2014-01-07
| |
* | stdenv: Update commentEelco Dolstra2014-01-07
| |
* | stdenv: Revert special-casing of fixupPhaseEelco Dolstra2014-01-07
| | | | | | | | | | | | | | | | Treating fixupPhase specially is really ugly. Also, it collides with the work in the multiple-outputs branch (which already has support for fixing up all outputs). Partial revert of 0a44a091217ecd335cd10c06c1ddd29ad599f18c.
* | stdenv/setup.sh: fix breakage when shebang contains '\'Bjørn Forsman2014-01-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some programs, e.g. guile-config, has a shebang that ends in '\': #!/usr/bin/guile-1.8 \ -e main -s !# ;;;; guile-config --- utility for linking programs with Guile ;;;; Jim Blandy <jim@red-bean.com> --- September 1997 This currently breaks patchShebangs: $ read oldPath arg0 args <<< 'shebang \'; echo $? 1 $ echo $oldPath shebang $ echo $arg0 $ echo $args (And setup.sh/patchShebangs is run with 'set -e' so any command that return non-zero aborts the build.) Fix by telling 'read' to not interpret backslashes (with the -r flag): $ read -r oldPath arg0 args <<< 'shebang \'; echo $? 0 $ echo $oldPath shebang $ echo $arg0 \ $ echo $args Also needed: escape the escape characters so that sed doesn't interpret them.
* | stdenv/setup.sh: fix previous change...Vladimír Čunát2013-12-28
| | | | | | | | for the case that there is no makefile. CC #1354
* | stdenv/setup.sh: add SHELL to makeFlags (close #1354)Vladimír Čunát2013-12-27
| |
* | stdenv/patchShebangs: fix shebang checkBjørn Forsman2013-12-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | patchShebangs has a bug that shows itself on files that have the executable bit set but have no shebang (i.e. a blank/empty first line). The shell would then evaluate this: if [ != '#!' ]; then # not evaluated fi With proper quoting we get the correct behaviour: if [ "" != '#!' ]; then # this will be evaluated fi
* | Merge remote-tracking branch 'origin/master' into stdenv-updates.Peter Simons2013-12-04
|\| | | | | | | | | | | | | | | | | | | Conflicts: pkgs/development/interpreters/perl/5.16/default.nix pkgs/tools/networking/curl/default.nix pkgs/top-level/all-packages.nix pkgs/top-level/release-python.nix pkgs/top-level/release-small.nix pkgs/top-level/release.nix
| * mkDerivation: Set meta.position to the source file of the derivationEelco Dolstra2013-11-19
| | | | | | | | This requires Nix 1.7.