Skip to content

Commit

Permalink
passthru-vendored: work with derivations that produce multiple outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
nikstur committed May 14, 2024
1 parent 45fa2aa commit cc23636
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nix/passthru-vendored.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cc23636

Please sign in to comment.