Merge pull request #11362 from dezgeg/pr-buildenv-meta

buildEnv: Allow setting meta attributes
This commit is contained in:
Peter Simons 2015-11-30 23:21:39 +01:00
commit 806008a48e

View File

@ -35,10 +35,11 @@
buildInputs ? [] buildInputs ? []
, passthru ? {} , passthru ? {}
, meta ? {}
}: }:
runCommand name 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: { pkgs = builtins.toJSON (map (drv: {
paths = paths =
[ drv ] [ drv ]