initial rust-shell setup
This commit is contained in:
parent
29fb05bd92
commit
b70c9851a9
7 changed files with 94 additions and 55 deletions
24
shells/rust/default.nix
Normal file
24
shells/rust/default.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
# Snowfall Lib provides a customized `lib` instance with access to your flake's library
|
||||
# as well as the libraries available from your flake's inputs.
|
||||
lib,
|
||||
# You also have access to your flake's inputs.
|
||||
inputs,
|
||||
|
||||
# The namespace used for your flake, defaulting to "internal" if not set.
|
||||
namespace,
|
||||
|
||||
# All other arguments come from NixPkgs. You can use `pkgs` to pull shells or helpers
|
||||
# programmatically or you may add the named attributes as arguments here.
|
||||
pkgs,
|
||||
mkShell,
|
||||
system,
|
||||
...
|
||||
}:
|
||||
|
||||
mkShell {
|
||||
# Create your shell
|
||||
nativeBuildInputs = [
|
||||
inputs.fenix.packages.${system}.complete.toolchain
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue