nixnew/modules/devenv/flakepart.nix

11 lines
321 B
Nix
Raw Normal View History

2023-07-27 05:27:13 +00:00
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)