nix: put builtin in scope when needed

This commit is contained in:
Léana 江 2024-04-06 13:50:33 +02:00 committed by Léana 江
parent d7d55059ce
commit 8271aea4ba
9 changed files with 38 additions and 34 deletions

View file

@ -2,6 +2,7 @@
let
pname = "hiosevka";
in
with builtins;
(iosevka.overrideAttrs (_: { inherit pname; })).override {
set = pname;
/* Guide: https://github.com/be5invis/Iosevka/blob/main/doc/custom-build.md
@ -9,5 +10,5 @@ in
Use `term` spacing to avoid dashed arrow issue
https://github.com/ryanoasis/nerd-fonts/issues/1018
*/
privateBuildPlan = builtins.readFile ./buildplan.toml;
privateBuildPlan = readFile ./buildplan.toml;
}