aboutsummaryrefslogtreecommitdiff
path: root/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'default.nix')
-rw-r--r--default.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/default.nix b/default.nix
index ec38017..74e652c 100644
--- a/default.nix
+++ b/default.nix
@@ -4,13 +4,14 @@ in
4 with pkgs; 4 with pkgs;
5 stdenv.mkDerivation rec { 5 stdenv.mkDerivation rec {
6 name = "scientifica"; 6 name = "scientifica";
7 version = "v2.1"; 7 version = "v2.2";
8 src = ./src; 8 src = ./src;
9 buildInputs = [ fontforge python3 xorg.mkfontdir ]; 9 buildInputs = [ fontforge python3 xorg.mkfontdir ];
10 10
11 buildPhase = '' 11 buildPhase = ''
12 for i in ./*; do 12 for i in *; do
13 fontforge -c 'open(argv[1]).generate(argv[2])' $i $i.otb 13 p=''${i%%.*}
14 fontforge -c 'open(argv[1]).generate(argv[2])' $i "$p".otb
14 done 15 done
15 ''; 16 '';
16 installPhase = '' 17 installPhase = ''