Fix path issue
This commit is contained in:
parent
02b2ff76d9
commit
acd612468d
|
@ -37,9 +37,9 @@
|
||||||
font_sources = map (v: v.src) (lib.filter (v: v ? src) config.fonts.fonts);
|
font_sources = map (v: v.src) (lib.filter (v: v ? src) config.fonts.fonts);
|
||||||
in
|
in
|
||||||
builtins.listToAttrs (lib.imap0
|
builtins.listToAttrs (lib.imap0
|
||||||
(n: v:
|
(n: source:
|
||||||
lib.nameValuePair "src-cache/fonts/${toString n}" {
|
lib.nameValuePair "src-cache/fonts/${toString n}" {
|
||||||
source = /. + v;
|
inherit source;
|
||||||
})
|
})
|
||||||
font_sources);
|
font_sources);
|
||||||
}
|
}
|
||||||
|
|
2
test.nix
2
test.nix
|
@ -3,7 +3,7 @@ let
|
||||||
in {
|
in {
|
||||||
pre-commit-check = nix-pre-commit-hooks.run {
|
pre-commit-check = nix-pre-commit-hooks.run {
|
||||||
src = ./.;
|
src = ./.;
|
||||||
excludes = ["nix/*"];
|
excludes = ["nix/.*"];
|
||||||
hooks = {
|
hooks = {
|
||||||
hlint.enable = true;
|
hlint.enable = true;
|
||||||
alejandra.enable = true;
|
alejandra.enable = true;
|
||||||
|
|
Loading…
Reference in a new issue