Add rust devshell
Add sccache Add clang so rust can actually build
This commit is contained in:
parent
16db8372c8
commit
b136c7988e
3 changed files with 80 additions and 17 deletions
|
@ -14,18 +14,17 @@
|
|||
url = "github:nix-community/home-manager/release-24.11";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
devshell.url = "github:numtide/devshell";
|
||||
};
|
||||
|
||||
outputs =
|
||||
inputs@{ flake-parts, ... }:
|
||||
flake-parts.lib.mkFlake { inherit inputs; } {
|
||||
imports = [
|
||||
# To import a flake module
|
||||
# 1. Add foo to inputs
|
||||
# 2. Add foo as a parameter to the outputs function
|
||||
# 3. Add here: foo.flakeModule
|
||||
inputs.devshell.flakeModule
|
||||
./nixos/machines/wsl/configuration.nix
|
||||
./home-manager/machines/wsl/home.nix
|
||||
./devshells/rust.nix
|
||||
];
|
||||
systems = [
|
||||
"x86_64-linux"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue