xmlbird: fix build with python 3.8

also force use of gccStdenv to fix darwin build
This commit is contained in:
Robert Scott 2020-09-19 19:21:33 +01:00 committed by Jon
parent 0f34c4eb33
commit 781b870c91
2 changed files with 6 additions and 2 deletions

View file

@ -13,7 +13,11 @@ stdenv.mkDerivation rec {
buildInputs = [ glib ];
postPatch = "patchShebangs .";
postPatch = ''
substituteInPlace configure \
--replace 'platform.dist()[0]' '"nix"'
patchShebangs .
'';
buildPhase = "./build.py";

View file

@ -2566,7 +2566,7 @@ in
biblatex-check = callPackage ../tools/typesetting/biblatex-check { };
birdfont = callPackage ../tools/misc/birdfont { };
xmlbird = callPackage ../tools/misc/birdfont/xmlbird.nix { };
xmlbird = callPackage ../tools/misc/birdfont/xmlbird.nix { stdenv = gccStdenv; };
blastem = callPackage ../misc/emulators/blastem {
inherit (python27Packages) pillow;