1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00
nixpkgs/pkgs
Shea Levy 98860f429d Add the addPassthru library function
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>
2013-03-24 08:29:10 -04:00
..
applications Partially revert my recent kernelPackages changes 2013-03-24 07:45:00 -04:00
build-support pkgs/build-support/cabal: disable doCheck by default on GHC 7.0.x platforms 2013-03-23 18:44:44 +01:00
data Adding the sgml dtd for docbook 3.1 2013-03-18 15:07:20 +01:00
desktops A more complete fix of cyrus-sasl update (broken KDEs). 2013-03-13 21:06:37 +01:00
development haskell-editline: add old version 0.2.1.0 2013-03-23 18:44:44 +01:00
games Add myself as a maintainer to all Haskell packages (re-)generated by hackage4nix. 2013-03-23 15:58:14 +01:00
lib Add the addPassthru library function 2013-03-24 08:29:10 -04:00
misc Merge remote-tracking branch 'origin/master' into stdenv-updates 2013-03-07 19:33:52 +01:00
os-specific Partially revert my recent kernelPackages changes 2013-03-24 07:45:00 -04:00
servers Partially revert my recent kernelPackages changes 2013-03-24 07:45:00 -04:00
shells ipython: adding depenencies for ipython's notebook 2013-03-23 00:38:18 +01:00
stdenv Add the addPassthru library function 2013-03-24 08:29:10 -04:00
test
tools gparted: update 2013-03-23 20:25:35 +01:00
top-level Partially revert my recent kernelPackages changes 2013-03-24 07:45:00 -04:00