summary refs log tree commit diff
path: root/pkgs/stdenv/generic
Commit message (Collapse)AuthorAge
* Only show/build a package on the platforms listed in meta.platformsEelco Dolstra2013-11-05
| | | | | | | | | | | | | | | | | | The function ‘mkDerivation’ now checks whether the current platform type is included in a package's meta.platform field. If not, it throws an exception: $ nix-build -A linux --argstr system x86_64-darwin error: user-thrown exception: the package ‘linux-3.10.15’ is not supported on ‘x86_64-darwin’ These packages also no longer show up in ‘nix-env -qa’ output. This means, for instance, that the number of packages shown on x86_64-freebsd has dropped from 9268 to 4764. Since meta.platforms was also used to prevent Hydra from building some packages, there now is a new attribute meta.hydraPlatforms listing the platforms on which Hydra should build the package (which defaults to meta.platforms).
* Allow packages to be marked as "broken" by setting meta.brokenEelco Dolstra2013-11-04
| | | | The effect is that they won't show up in "nix-env -qa" anymore.
* Small fix in handling of "unfree" meta.license attributesBjørn Forsman2013-10-21
| | | | | | | | | meta.license is can be a string or a list of strings. But there is one unhandled case where "unfree" (or "unfree-redistributable") is a part of a list. It will currently not be detected as an "unfree" package and Hydra will attempt to build it. This should fix it. Example: http://hydra.nixos.org/build/6553461
* Fix references to pkgs/libEelco Dolstra2013-10-10
|
* Kindly ask strip to not mess up timestamps in static librariesEvgeny Egorochkin2013-06-25
|
* Add a stdenv version which tries harder to make builds repeatable.Evgeny Egorochkin2013-06-21
|
* mkDerivation: Allow direct access to passthruShea Levy2013-05-03
| | | | | | | | | Before this, the passthru attributes were only merged in with the derivation attribute set, and there was no way to distinguish after the fact which attributes were part of the derivation and which came from passthru. Now passthru can be looked at separately as well. Signed-off-by: Shea Levy <shea@shealevy.com>
* Remove the "proprietary" licenseEelco Dolstra2013-04-12
| | | | We already had "unfree".
* Add the addPassthru library functionShea Levy2013-03-24
| | | | | | | | | | | | | | | | With multiple outputs, adding attributes to a derivation without changing the {drv,out}Path is no longer as trivial as simply using the `//' operator, as we usually want to add the attribute to _each_ output, and even if we only care about one that one output can be reached via multiple paths. For stdenv.mkDerivation, we already had code in place to add passthru and meta attributes to derivations. This commit simply factors part of that code out into a lib function addPassthru, which takes a derivation and an attribute set and appends the attribute set to each output of the derivation. Signed-off-by: Shea Levy <shea@shealevy.com>
* Enable __ignoreNulls globallyEelco Dolstra2013-03-07
|
* Merge remote-tracking branch 'origin/master' into stdenv-updatesEelco Dolstra2013-03-07
|\
| * stdenv.mkDerivation: Add meta and passthru to all outputs.Shea Levy2013-03-02
| | | | | | | | | | | | Before, only the first output (and not even that when accessed through 'all' or its corresponding attribtue) had meta information and the relevant passthru attributes. This doesn't change stdenv's hash and the tarball still builds, I'm pretty sure this is safe for master.
* | stdenv/setup.sh: Always run postPatch hook.aszlig2013-02-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I'm not sure whether this was by intention, but so far postPatch hooks were silently skipped whenever the patches list was empty. This change could possibly change the build results of the following packages: * gcc * cmake (264) * systemtap * quemu-kvm These packages all have in common that they have a postPatch hook and the patches list can be empty when certain conditions are met. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* | Merge remote-tracking branch 'origin/master' into stdenv-updatesEelco Dolstra2013-02-15
|\|
| * lib.licenses.proprietary is definitely unfreeShea Levy2013-01-27
| |
* | Merge remote-tracking branch 'central/master' into stdenv-updatesLluís Batlle i Rossell2013-01-27
|\| | | | | | | | | Conflicts: pkgs/os-specific/linux/alsa-utils/default.nix
| * With !allowUnfree, reject unfree-redistributable packages as wellEelco Dolstra2013-01-24
| |
* | Merge remote-tracking branch 'upstream/master' into stdenv-updatesRickard Nilsson2013-01-20
|\|
| * Add config option ‘allowUnfree’Eelco Dolstra2013-01-17
| | | | | | | | | | | | | | | | If set to false, mkDerivation will throw an exception if a package has an unfree license. ‘release-lib.nix’ uses this to enforce that we don't build unfree packages as part of the Nixpkgs channel. Since this is set through Nixpkgs' ‘config’ argument, it's more finegrained than $HYDRA_DISALLOW_UNFREE.
| * Pass ‘config’ to stdenv/generic/default.nixEelco Dolstra2013-01-17
| | | | | | | | | | This is a backport of cf8daf63120adedbeaf5bc8c2f396be2496a741e in stdenv-updates (sans the userHook stuff).
* | Merge branch 'stdenv-updates' into pi-stdenv-updatesLluís Batlle i Rossell2012-12-28
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: pkgs/development/compilers/gcc/4.6/default.nix pkgs/development/compilers/gcc/4.7/default.nix The 4.7 had some weird parameters added in crossAttrs; I've removed them, but I don't understand where they come from.
| * | Rename buildNativeInputs -> nativeBuildInputsEelco Dolstra2012-12-28
| | | | | | | | | | | | | | | Likewise for propagatedBuildNativeInputs, etc. "buildNativeInputs" sounds like an imperative rather than a noun phrase.
| * | Rename hostDrv -> crossDrv, buildDrv -> nativeDrvEelco Dolstra2012-12-28
| | | | | | | | | | | | | | | | | | This is for consistency with terminology in stdenv (and the terms "hostDrv" and "buildDrv" are not very intuitive, even if they're consistent with GNU terminology).
| * | Remove trailing whitespaceEelco Dolstra2012-12-28
| | |
| * | Add an option ‘stdenv.userHook’ to set a global stdenv setup hookEelco Dolstra2012-12-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows various applications. It allows users to set global optimisation flags, e.g. stdenv.userHook = ''NIX_CFLAGS_COMPILE+=" -funroll-loops"''; But the impetus is as an alternative to issue #229, allowing impure stdenv setup for people who want to use distcc: stdenv.userHook = "source /my/impure/setup-script.sh"; This is probably a bad idea, but at least now it's a bad idea in people's configuration and not in Nixpkgs. :-)
| * | Revert "Merge pull request #229 from viric/niximpure2-stdenv-updates"Eelco Dolstra2012-12-28
| | | | | | | | | | | | | | | This reverts commit e04b17bfbaa4dbd5252d59f727d7d84ffe25f568, reversing changes made to 1af2ada7d4c61e79356a0f3f8bcced6159a6e751.
| * | stdenv: Stripping out/lib32 tooLluís Batlle i Rossell2012-12-27
| | | | | | | | | | | | | | | If not, in mips64/n32, lib32/libiberty.a was left without stripping, and it contained (debug) references to bootstrap-tools.
* | | Merge branch 'stdenv-updates' into pi-stdenv-updatesLluís Batlle i Rossell2012-12-27
|\| |
| * | Fixing problems in the previous commit. It didn't work.Lluís Batlle i Rossell2012-12-26
| | |
| * | 2nd approach at getting a check for /niximpure in stdenv-updatesLluís Batlle i Rossell2012-12-26
| | |
* | | First movement to get the raspberrypi stdenv building.root2012-12-26
|/ /
* | Don't preserve timestamps when copying sources to the temporary build directory.Shea Levy2012-12-14
| | | | | | | | This should fix issues like "ZIP does not support timestamps before 1980"
* | Merge remote-tracking branch 'origin/master' into stdenv-updatesEelco Dolstra2012-12-04
|\|
| * Remove support for the obsolete powerpc-darwin and i686-darwin platformsEelco Dolstra2012-11-29
| |
* | checkPhase: Pass VERBOSE=y so that failing tests show something usefulEelco Dolstra2012-10-16
| |
* | Update stdenv.is64bitEelco Dolstra2012-10-16
| |
* | For consistency, don't use the -v flag when copying a directory $srcEelco Dolstra2012-09-25
|/
* Add hacky way to prevent Hydra from building/distributing unfree packagesEelco Dolstra2012-08-22
| | | | | | | If the environment variable HYDRA_DISALLOW_UNFREE is set to "1", then evaluation of a package with license "unfree" will throw an error. Thus such packages or any packages that depend on them will fail to evaluate.
* stdenv/generic/default.nix: Simplify the code using the "or" constructEelco Dolstra2012-08-22
|
* stdenv: Fix typo.Ludovic Courtès2012-08-21
|
* stdenv: Add `isGlibc' function.Ludovic Courtès2012-08-21
|
* * Sync with the trunk.Eelco Dolstra2012-05-02
|\ | | | | | | svn path=/nixpkgs/branches/stdenv-updates/; revision=33971
| * Add armv7l support.Nicolas Pierron2012-04-15
| | | | | | | | svn path=/nixpkgs/trunk/; revision=33798
* | * Add an installCheckPhase.Eelco Dolstra2012-05-01
| | | | | | | | svn path=/nixpkgs/branches/stdenv-updates/; revision=33967
* | Revert r33547Shea Levy2012-04-04
| | | | | | | | svn path=/nixpkgs/branches/stdenv-updates/; revision=33583
* | tar doesn't need -f - to read from stdinShea Levy2012-04-04
| | | | | | | | svn path=/nixpkgs/branches/stdenv-updates/; revision=33574
* | Don't do verbose unpacking, it's just log noiseShea Levy2012-04-04
|/ | | | svn path=/nixpkgs/branches/stdenv-updates/; revision=33573
* Add `stdenv.isGNU'.Ludovic Courtès2012-03-06
| | | | svn path=/nixpkgs/trunk/; revision=32836
* Honor propagatedUserEnvPackages in setup.shShea Levy2012-02-17
| | | | svn path=/nixpkgs/branches/stdenv-updates/; revision=32369
* svn merge ^/nixpkgs/trunkYury G. Kudryashov2012-01-26
|\ | | | | | | | | | | Conflicts: cups, all-packages.nix (gcc45_debug) svn path=/nixpkgs/branches/stdenv-updates/; revision=31863