chore: Use mkCargoBuild for nix-compat-derive-tests
When using mkCargoBuild we can in a later CL enable the compile tests and get rid of the feature flag in the nix-compat-derive-tests crate. Change-Id: Ieeb991b65beb6bf19a01d62a935b6ffaf3d405d8 Reviewed-on: https://cl.snix.dev/c/snix/+/30650 Autosubmit: Brian Olsen <brian@maven-group.org> Tested-by: besadii Reviewed-by: Florian Klink <flokli@flokli.de>
This commit is contained in:
parent
4a70e43022
commit
9743771f1a
1 changed files with 5 additions and 2 deletions
|
|
@ -1,5 +1,8 @@
|
|||
{ depot, ... }:
|
||||
|
||||
depot.snix.crates.workspaceMembers.nix-compat-derive-tests.build.override {
|
||||
runTests = true;
|
||||
depot.snix.mkCargoBuild {
|
||||
name = "nix-compat-derive-tests";
|
||||
buildPhase = ''
|
||||
cargo test -p nix-compat-derive-tests 2>&1 | tee -a $out
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue