From 74c09a6e64a9f67f8a75a858d28a7f33f04c3bc4 Mon Sep 17 00:00:00 2001 From: Tuomas Tynkkynen Date: Sun, 29 Nov 2015 19:12:39 +0200 Subject: [PATCH] buildEnv: Allow setting meta attributes --- pkgs/build-support/buildenv/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/build-support/buildenv/default.nix b/pkgs/build-support/buildenv/default.nix index 5bcc1708e7fd..9b8b9daad94d 100644 --- a/pkgs/build-support/buildenv/default.nix +++ b/pkgs/build-support/buildenv/default.nix @@ -35,10 +35,11 @@ buildInputs ? [] , passthru ? {} +, meta ? {} }: runCommand name - rec { inherit manifest ignoreCollisions passthru pathsToLink extraPrefix postBuild buildInputs; + rec { inherit manifest ignoreCollisions passthru meta pathsToLink extraPrefix postBuild buildInputs; pkgs = builtins.toJSON (map (drv: { paths = [ drv ]