Skip to content

Commit 15a1ce6

Browse files
committed
nix: test with cargo-nextest; specify which packages to build
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I1e9094c7cd78ea63fc70bb5bd8e2d39d6a6a6964
1 parent 4bffc57 commit 15a1ce6

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

nix/package.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,10 @@ rustPlatform.buildRustPackage (finalAttrs: {
1919
];
2020
};
2121

22+
cargoBuildFlags = ["-p watt" "-p xtask"];
2223
cargoLock.lockFile = "${finalAttrs.src}/Cargo.lock";
2324
enableParallelBuilding = true;
25+
useNextest = true;
2426

2527
# xtask doesn't support passing --target
2628
# but nix hooks expect the folder structure from when it's set

0 commit comments

Comments
 (0)