Skip to content

Commit 3dc5a14

Browse files
authored
Merge pull request #11 from mlabs-haskell/szg251/fix-native-build-inputs
Fix nativeBuildInputs and testTools for Rust
2 parents 15321e8 + 110460f commit 3dc5a14

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

flake-lang/flake-rust.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ in
9090
{
9191
devShells."dev-${crateName}-rust" = craneLib.devShell {
9292
buildInputs = nativeBuildInputs;
93-
packages = devShellTools;
93+
packages = devShellTools ++ testTools;
9494
shellHook = ''
9595
${linkExtraSources}
9696
${linkData}
@@ -113,7 +113,7 @@ in
113113
checks = {
114114
"${crateName}-rust-test" = craneLib.cargoNextest (commonArgs // {
115115
inherit cargoArtifacts;
116-
nativeBuildInputs = testTools;
116+
nativeBuildInputs = testTools ++ nativeBuildInputs;
117117
});
118118

119119
"${crateName}-rust-clippy" = craneLib.cargoClippy (commonArgs // {

0 commit comments

Comments
 (0)