From 31ed92f65f4e117718dc5a963920fdf5f489a24f Mon Sep 17 00:00:00 2001 From: Luca Bruno Date: Fri, 27 Nov 2015 14:49:54 +0100 Subject: Fix system-path with multiout --- pkgs/build-support/buildenv/default.nix | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'pkgs/build-support/buildenv') diff --git a/pkgs/build-support/buildenv/default.nix b/pkgs/build-support/buildenv/default.nix index 5bcc1708e7fd3..6009abd9e3701 100644 --- a/pkgs/build-support/buildenv/default.nix +++ b/pkgs/build-support/buildenv/default.nix @@ -21,10 +21,6 @@ # directories in the list is not symlinked. pathsToLink ? ["/"] -, # The package outputs to include. By default, only the default - # output is included. - outputsToLink ? [] - , # Root the result in directory "$out${extraPrefix}", e.g. "/share". extraPrefix ? "" @@ -40,9 +36,7 @@ runCommand name rec { inherit manifest ignoreCollisions passthru pathsToLink extraPrefix postBuild buildInputs; pkgs = builtins.toJSON (map (drv: { - paths = - [ drv ] - ++ lib.concatMap (outputName: lib.optional (drv.${outputName}.outPath or null != null) drv.${outputName}) outputsToLink; + paths = [ drv ]; priority = drv.meta.priority or 5; }) paths); preferLocalBuild = true; -- cgit 1.4.1