noto-fonts-emoji: fixup chrooted build

http://hydra.nixos.org/build/26141137
/cc #9949 and maintainer @mathnerd314.
This commit is contained in:
Vladimír Čunát 2015-09-21 11:27:41 +02:00
parent ddb39be324
commit a40edcb1ba

View File

@ -96,7 +96,16 @@ rec {
sha256 = "1pa94gw2y0b6p8r81zbjzcjgi5nrx4dqrqr6mk98wj6jbi465sh2";
};
buildInputs = [ optipng cairo fontforge pythonPackages.nototools pythonPackages.fonttools pkgconfig ];
buildInputs = with pythonPackages; [
optipng cairo fontforge python nototools fonttools pkgconfig
];
#FIXME: perhaps use our pngquant instead
preConfigure = ''
for f in ./*.py ./third_party/pngquant/configure; do
patchShebangs "$f"
done
'';
preBuild = ''
export PYTHONPATH=$PYTHONPATH:$PWD
@ -116,4 +125,4 @@ rec {
maintainers = with maintainers; [ mathnerd314 ];
};
};
}
}