From cc236364868e6a4136cf89c569cc0322289641b7 Mon Sep 17 00:00:00 2001 From: nikstur Date: Tue, 14 May 2024 14:02:29 +0200 Subject: [PATCH] passthru-vendored: work with derivations that produce multiple outputs --- nix/passthru-vendored.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nix/passthru-vendored.nix b/nix/passthru-vendored.nix index d6337c2..2a1c84d 100644 --- a/nix/passthru-vendored.nix +++ b/nix/passthru-vendored.nix @@ -11,6 +11,7 @@ passthru = (previousAttrs.passthru or { }) // { bombonVendoredSbom = package.overrideAttrs (previousAttrs: { nativeBuildInputs = (previousAttrs.nativeBuildInputs or [ ]) ++ [ cargo-cyclonedx ]; + outputs = [ "out" ]; phases = [ "unpackPhase" "patchPhase" "buildPhase" "installPhase" ]; buildPhase = '' cargo cyclonedx --spec-version 1.4 --format json