* stdenv.mkDerivation: add any attributes in the "passthru" attribute

set to the result, but don't use them in the actual derivation (so
  they're not inputs).  Useful to pass through extra attributes that
  are not inputs, but should be made available to Nix expressions
  using the derivation (e.g., in assertions).

svn path=/nixpkgs/trunk/; revision=6521
This commit is contained in:
Eelco Dolstra
2006-09-14 13:30:47 +00:00
parent 8e5b302403
commit 1014ca2ad5
2 changed files with 10 additions and 3 deletions

View File

@@ -57,4 +57,6 @@ stdenv.mkDerivation {
# randr.h and Xrandr.h need not be in the same prefix.
./xrandr.patch
];
passthru = {inherit mysqlSupport;};
}