1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00
Nix Packages collection
Go to file
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
doc Lots of Perl package updates 2013-01-19 00:02:51 +01:00
maintainers Add very hacky script to generate Perl packages 2013-01-28 12:11:32 +01:00
pkgs Add the addPassthru library function 2013-03-24 08:29:10 -04:00
.gitignore Tell git to ignore .*.swp - Vim swap files 2012-10-04 11:27:57 +04:00
COPYING * Applying an MIT-style license to Nixpkgs. 2006-04-25 16:50:34 +00:00
default.nix * For convenience, provide a top-level Nix expression that simply 2007-04-26 14:32:57 +00:00
VERSION * Bump version number. 2012-06-04 03:53:25 +00:00