snix/snix/nix-compat-derive-tests/default.nix
Brian Olsen 9743771f1a 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>
2025-08-04 22:33:38 +00:00

8 lines
166 B
Nix

{ depot, ... }:
depot.snix.mkCargoBuild {
name = "nix-compat-derive-tests";
buildPhase = ''
cargo test -p nix-compat-derive-tests 2>&1 | tee -a $out
'';
}