1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

monoid: fix build

We recently defaulted fontforge to python3 which made the python2 used by the build system unable to find fontforge.
This commit is contained in:
Jan Tojnar 2019-12-25 20:32:05 +01:00
parent ca39dd3a8a
commit ee4cc7c390
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

View file

@ -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=""