mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-21 21:50:43 -06:00
Compare commits
2 commits
56e2ca0d2d
...
c56c791088
Author | SHA1 | Date | |
---|---|---|---|
c56c791088 | |||
a738b58baf |
3 changed files with 20 additions and 18 deletions
|
@ -729,17 +729,17 @@
|
||||||
"treefmt-nix": "treefmt-nix"
|
"treefmt-nix": "treefmt-nix"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1726640797,
|
"lastModified": 1727483986,
|
||||||
"narHash": "sha256-tuqkFa7ZxcGwU8gTbKO61oGMdTmG9CiaI+NiaOV7SCI=",
|
"narHash": "sha256-8F97zAu+icDC9ZYS7m+Y58oZQ7R3gVuXMvzAfgkVmJo=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "nixd",
|
"repo": "nixd",
|
||||||
"rev": "e2f0d908d6f2ee7bf72c620ed3c78817143b50ae",
|
"rev": "05ff3db3d1da26eafd5f58c7104e4f9ff6630894",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
|
"ref": "2.4.0",
|
||||||
"repo": "nixd",
|
"repo": "nixd",
|
||||||
"rev": "e2f0d908d6f2ee7bf72c620ed3c78817143b50ae",
|
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
nixos-wsl.url = "github:nix-community/NixOS-WSL";
|
nixos-wsl.url = "github:nix-community/NixOS-WSL";
|
||||||
nix-index-database.url = "github:nix-community/nix-index-database";
|
nix-index-database.url = "github:nix-community/nix-index-database";
|
||||||
# pipe support added
|
# pipe support added
|
||||||
nixd.url = "github:nix-community/nixd/e2f0d908d6f2ee7bf72c620ed3c78817143b50ae";
|
nixd.url = "github:nix-community/nixd/2.4.0";
|
||||||
|
|
||||||
lix = {
|
lix = {
|
||||||
url = "https://git.lix.systems/lix-project/lix/archive/main.tar.gz";
|
url = "https://git.lix.systems/lix-project/lix/archive/main.tar.gz";
|
||||||
|
|
|
@ -47,21 +47,22 @@ let
|
||||||
# ["a" "b"] -> {a.enable = true; b.enable = true;}
|
# ["a" "b"] -> {a.enable = true; b.enable = true;}
|
||||||
enableAttrs =
|
enableAttrs =
|
||||||
attrs:
|
attrs:
|
||||||
listToAttrs (
|
attrs
|
||||||
map (attr: {
|
|> map (attr: {
|
||||||
name = attr;
|
name = attr;
|
||||||
value = enabled;
|
value = enabled;
|
||||||
}) attrs
|
})
|
||||||
);
|
|> listToAttrs;
|
||||||
|
|
||||||
# ["a" "b"] -> {a.enable = false; b.enable = false;}
|
# ["a" "b"] -> {a.enable = false; b.enable = false;}
|
||||||
disableAttrs =
|
disableAttrs =
|
||||||
attrs:
|
attrs:
|
||||||
listToAttrs (
|
attrs
|
||||||
map (attr: {
|
|> map (attr: {
|
||||||
name = attr;
|
name = attr;
|
||||||
value = disabled;
|
value = disabled;
|
||||||
}) attrs
|
})
|
||||||
);
|
|> listToAttrs;
|
||||||
|
|
||||||
mkIfIn = name: list: prev.mkIf (builtins.elem name list);
|
mkIfIn = name: list: prev.mkIf (builtins.elem name list);
|
||||||
|
|
||||||
|
@ -110,7 +111,8 @@ let
|
||||||
};
|
};
|
||||||
|
|
||||||
loadOverlays =
|
loadOverlays =
|
||||||
inputs: dir: readDir dir
|
inputs: dir:
|
||||||
|
readDir dir
|
||||||
|> attrNames
|
|> attrNames
|
||||||
|> filter (f: f != "default.nix")
|
|> filter (f: f != "default.nix")
|
||||||
|> map (f: import (../overlays + "/${f}") { inherit inputs; });
|
|> map (f: import (../overlays + "/${f}") { inherit inputs; });
|
||||||
|
|
Loading…
Reference in a new issue