summary refs log tree commit diff
path: root/pkgs/data
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2019-12-25 20:32:05 +0100
committerJan Tojnar <jtojnar@gmail.com>2019-12-25 20:32:13 +0100
commitee4cc7c390c555ae98d6d72fe17b29f2f1612f90 (patch)
tree74e7036e4d923237edd182d14f32ce7242a48cad /pkgs/data
parentca39dd3a8a93361c262c976038dc4af7ceea2d85 (diff)
downloadnixpkgs-ee4cc7c390c555ae98d6d72fe17b29f2f1612f90.tar
nixpkgs-ee4cc7c390c555ae98d6d72fe17b29f2f1612f90.tar.gz
nixpkgs-ee4cc7c390c555ae98d6d72fe17b29f2f1612f90.tar.bz2
nixpkgs-ee4cc7c390c555ae98d6d72fe17b29f2f1612f90.tar.lz
nixpkgs-ee4cc7c390c555ae98d6d72fe17b29f2f1612f90.tar.xz
nixpkgs-ee4cc7c390c555ae98d6d72fe17b29f2f1612f90.tar.zst
nixpkgs-ee4cc7c390c555ae98d6d72fe17b29f2f1612f90.zip
monoid: fix build
We recently defaulted fontforge to python3 which made the python2 used by the build system unable to find fontforge.
Diffstat (limited to 'pkgs/data')
-rw-r--r--pkgs/data/fonts/monoid/default.nix9
1 files changed, 7 insertions, 2 deletions
diff --git a/pkgs/data/fonts/monoid/default.nix b/pkgs/data/fonts/monoid/default.nix
index 06fb7499b81..22714170fa4 100644
--- a/pkgs/data/fonts/monoid/default.nix
+++ b/pkgs/data/fonts/monoid/default.nix
@@ -1,4 +1,5 @@
-{ stdenv, fetchFromGitHub, python, fontforge }:
+{ stdenv, fetchFromGitHub, python2 }:
+# Python 3 support requires https://github.com/larsenwork/monoid/pull/233 to be merged
 
 stdenv.mkDerivation {
   pname = "monoid";
@@ -11,7 +12,11 @@ stdenv.mkDerivation {
     sha256 = "07h5q6cn6jjpmxp9vyag1bxx481waz344sr2kfs7d37bba8yjydj";
   };
 
-  nativeBuildInputs = [ python fontforge ];
+  nativeBuildInputs = [
+    (python2.withPackages (pp: with pp; [
+      fontforge
+    ]))
+  ];
 
   buildPhase = ''
     local _d=""