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