@@ -96,7 +96,16 @@ rec {
9696 sha256 = "1pa94gw2y0b6p8r81zbjzcjgi5nrx4dqrqr6mk98wj6jbi465sh2";
9797 };
9898
99− buildInputs = [ optipng cairo fontforge pythonPackages.nototools pythonPackages.fonttools pkgconfig ];
99+ buildInputs = with pythonPackages; [
100+ optipng cairo fontforge python nototools fonttools pkgconfig
101+ ];
102+
103+ #FIXME: perhaps use our pngquant instead
104+ preConfigure = ''
105+ for f in ./*.py ./third_party/pngquant/configure; do
106+ patchShebangs "$f"
107+ done
108+ '';
100109
101110 preBuild = ''
102111 export PYTHONPATH=$PYTHONPATH:$PWD
@@ -116,4 +125,4 @@ rec {
116125 maintainers = with maintainers; [ mathnerd314 ];
117126 };
118127 };
119−}
128+}