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:
parent
ca39dd3a8a
commit
ee4cc7c390
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue