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>
8 lines
166 B
Nix
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
|
|
'';
|
|
}
|