mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 12:29:19 -08:00
20 lines
349 B
Nix
20 lines
349 B
Nix
{
|
|
tree,
|
|
inputs,
|
|
std,
|
|
pkgs,
|
|
...
|
|
} @ argy: let
|
|
inherit (std) set;
|
|
in
|
|
inputs.flake-utils.lib.eachDefaultSystem (system: {
|
|
devShells = let
|
|
shells = set.map (_: path:
|
|
import path (argy
|
|
// {
|
|
pkgs = pkgs.${system};
|
|
}))
|
|
tree.shells;
|
|
in
|
|
shells // {default = shells.repo;};
|
|
})
|