xmlbird: fix build with python 3.8

also force use of gccStdenv to fix darwin build

(cherry picked from commit 781b870c91)
This commit is contained in:
Robert Scott
2020-09-19 19:21:33 +01:00
committed by Jon
parent aa37cc1e7a
commit ff3baa2a56
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

@@ -2537,7 +2537,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;