1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

cantarell-fonts: ad-hoc fix for build

`GETTEXTDATADIRS` isn't populated correctly due to empty buildInputs. Borrow from
`GETTEXTDATADIRS_FOR_BUILD` until we fix gettext's envHook.

see: https://github.com/NixOS/nixpkgs/issues/50855
This commit is contained in:
Tor Hedin Brønner 2018-11-21 14:39:51 +01:00 committed by Jan Tojnar
parent 440d84cfb1
commit 3a3afc739f
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

View file

@ -13,6 +13,12 @@ in stdenv.mkDerivation rec {
nativeBuildInputs = [ meson ninja gettext appstream-glib ];
# ad-hoc fix for https://github.com/NixOS/nixpkgs/issues/50855
# until we fix gettext's envHook
preBuild = ''
export GETTEXTDATADIRS="$GETTEXTDATADIRS_FOR_BUILD"
'';
outputHashAlgo = "sha256";
outputHashMode = "recursive";
outputHash = "052nxmhw2j8yvcj90r8xhjf0mzim8h6syip7winxb28vavj6jnba";