22 lines
276 B
Nix
22 lines
276 B
Nix
{
|
|
withSystem,
|
|
inputs,
|
|
...
|
|
}: {
|
|
perSystem = {
|
|
config,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
devShells.rust = pkgs.mkShell {
|
|
buildInputs = with pkgs; [
|
|
# Rust toolchain
|
|
clang
|
|
rustup
|
|
# Faster builds
|
|
sccache
|
|
];
|
|
};
|
|
};
|
|
}
|