nixnew/modules/devenv/flakepart.nix

11 lines
321 B
Nix

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)