Skip to content

Commit

Permalink
fix: use custom devShell to avoid rebuilds on source changes
Browse files Browse the repository at this point in the history
It's rebuilding because we're using IFD to build the Cargo.nix, which is an input to the Centipede package.
Maybe this can be fixed by only using ./Cargo.lock as an input to the generatedCargoNix call?
  • Loading branch information
max-niederman committed Apr 25, 2024
1 parent 1c85aca commit d37e9e1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,13 @@
centipede = cargoNix.workspaceMembers.centipede.build;
default = centipede;
};

devShell = pkgs.mkShell {
name = "centipede";

packages = [
rust
];
};
});
}

0 comments on commit d37e9e1

Please sign in to comment.