From 94b3b7896583fca0247fb6d518d79ec73da405c3 Mon Sep 17 00:00:00 2001 From: Akshay Date: Fri, 1 Oct 2021 21:52:44 +0530 Subject: delete outdated nix build files --- default.nix | 24 ------------------------ shell.nix | 6 ------ 2 files changed, 30 deletions(-) delete mode 100644 default.nix delete mode 100644 shell.nix diff --git a/default.nix b/default.nix deleted file mode 100644 index 74e652c..0000000 --- a/default.nix +++ /dev/null @@ -1,24 +0,0 @@ -let - pkgs = import {}; -in - with pkgs; - stdenv.mkDerivation rec { - name = "scientifica"; - version = "v2.2"; - src = ./src; - buildInputs = [ fontforge python3 xorg.mkfontdir ]; - - buildPhase = '' - for i in *; do - p=''${i%%.*} - fontforge -c 'open(argv[1]).generate(argv[2])' $i "$p".otb - done - ''; - installPhase = '' - fontDir="$out/share/fonts/misc" - install -m 644 -D *.otb out/* -t "$fontDir" - mkfontdir "$fontDir" - ''; - } - - diff --git a/shell.nix b/shell.nix deleted file mode 100644 index d806c60..0000000 --- a/shell.nix +++ /dev/null @@ -1,6 +0,0 @@ -{ pkgs ? import {} }: - -with pkgs; -mkShell { - buildInputs = [ fontforge-gtk fontforge python3 xorg.mkfontdir adoptopenjdk-bin ]; -} -- cgit v1.2.3