vault-hier/nix/devshell.nix
Harald Hoyer d7b7a72444 nix
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2025-03-24 09:46:21 +01:00

27 lines
439 B
Nix

{
pkgs,
vault-hier,
rustVersion,
}:
let
toolchain_with_src = (
rustVersion.override {
extensions = [
"rustfmt"
"clippy"
"rust-src"
];
}
);
in
pkgs.mkShell {
packages = with pkgs; [
vault-hier # Add the vault-hier package to the dev shell
toolchain_with_src # Add the custom Rust toolchain with source code to the dev shell
];
nativeBuildInputs = [
vault-hier
];
}