From 84fba68006259f1732a9580ba2bdcbc300300c89 Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Fri, 3 May 2013 09:07:42 -0400 Subject: [PATCH] mkDerivation: Allow direct access to passthru 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 --- pkgs/stdenv/generic/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/stdenv/generic/default.nix b/pkgs/stdenv/generic/default.nix index dc8d92715de..9b8fd5615e7 100644 --- a/pkgs/stdenv/generic/default.nix +++ b/pkgs/stdenv/generic/default.nix @@ -85,6 +85,7 @@ let # include it in the result, it *is* available to nix-env for # queries. meta = attrs.meta or {}; + passthru = attrs.passthru or {}; } // # Pass through extra attributes that are not inputs, but # should be made available to Nix expressions using the