Skip to content

Commit

Permalink
xmlbird: fix build with python 3.8
Browse files Browse the repository at this point in the history
also force use of gccStdenv to fix darwin build
  • Loading branch information
risicle authored and Jon committed Sep 20, 2020
1 parent 0f34c4e commit 781b870
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion pkgs/tools/misc/birdfont/xmlbird.nix
Expand Up @@ -13,7 +13,11 @@ stdenv.mkDerivation rec {

buildInputs = [ glib ];

postPatch = "patchShebangs .";
postPatch = ''
substituteInPlace configure \
--replace 'platform.dist()[0]' '"nix"'
patchShebangs .
'';

buildPhase = "./build.py";

Expand Down
2 changes: 1 addition & 1 deletion pkgs/top-level/all-packages.nix
Expand Up @@ -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;
Expand Down

0 comments on commit 781b870

Please sign in to comment.