How to print the output of craneLib.cargoNextest on success?
#895
-
|
When running I also tried running packages = {
test = craneLib.cargoNextest (
commonArgs
// {
inherit cargoArtifacts;
}
);
};but that results in I am able to manually run Potentially similar issue: #869 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Hi @samuelburnham ! Printing build logs is controlled by For derivations that have already been built, you can use Hope this helps!
This sounds like you may have tried to use |
Beta Was this translation helpful? Give feedback.
Hi @samuelburnham ! Printing build logs is controlled by
nixitself. You can pass-L(or--print-build-logs) to print the logs as the derivations are being built which is likely what you'd want to pass in your CI invocation.For derivations that have already been built, you can use
nix logto view their logs, or you can runnix build -L --rebuildto rebuild it from scratch.Hope this helps!
This sounds like you may have tried to use
nix run .#test, when in reality you should runnix build .#test -Lhere. The test derivation does not produce any "r…