Move devenvs into main flake
This commit is contained in:
parent
c7e763a0e7
commit
e8d8c1c788
5 changed files with 15 additions and 68 deletions
10
modules/devenv/flakepart.nix
Normal file
10
modules/devenv/flakepart.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
finputs @ { nixpkgs, ... }: let
|
||||
systems = [ "x86_64-linux" ];
|
||||
in builtins.foldl' (a: b: a // b) {} (builtins.map (system: let
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
inputs = finputs // { inherit system pkgs inputs; };
|
||||
in {
|
||||
${system} = {
|
||||
rust-env = import ./rust.nix inputs;
|
||||
};
|
||||
}) systems)
|
Loading…
Add table
Add a link
Reference in a new issue