summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorMaxwell Beck <max@rastertail.net>2026-07-22 21:23:39 -0500
committerMaxwell Beck <max@rastertail.net>2026-07-22 21:23:39 -0500
commit9097e30beea6cb5f2cbc4612ca37b9d9521dc426 (patch)
tree136c819e59cb055fd693ec3217eefe4a2446138c /flake.nix
parentbc8049135a217439db96b36941b10002c064b03b (diff)
Build custom Iosevka font
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix10
1 files changed, 9 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index 8820d6f..d864fa8 100644
--- a/flake.nix
+++ b/flake.nix
@@ -3,13 +3,21 @@
outputs = { self }: {
overlays.default = (self: pkgs: {
+ iosevka-rastertail = pkgs.iosevka.override {
+ privateBuildPlan = builtins.readFile ./private-build-plans.toml;
+ set = "Rastertail";
+ };
+
rastertype3 = pkgs.stdenvNoCC.mkDerivation rec {
pname = "rastertype3";
version = "0.1.0";
src = ./.;
- propagatedBuildInputs = [ pkgs.typst pkgs.gyre-fonts ];
+ propagatedBuildInputs = [
+ pkgs.typst
+ pkgs.gyre-fonts self.iosevka-rastertail
+ ];
installPhase = ''
mkdir -p $out/typst/packages/local/rastertype3/${version}/
cp raster.typ $out/typst/packages/local/rastertype3/${version}/