misc small changes

This commit is contained in:
Gerg-L 2023-08-13 09:18:15 -04:00
parent e6b2482344
commit 67ea731529
6 changed files with 9 additions and 3 deletions

View file

@ -8,7 +8,7 @@ inputs: {
#
let
alias = inputs // {nixpkgs = inputs.unstable;};
flakes = lib.filterAttrs (_: v: v._type == "flake") alias;
flakes = lib.filterAttrs (_: lib.isType "flake") alias;
in {
nix.nixPath = lib.mapAttrsToList (x: _: "${x}=flake:${x}") flakes;
nix.registry = lib.mapAttrs (_: flake: {inherit flake;}) flakes;