mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-08 06:28:50 +03: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:
parent
440d84cfb1
commit
3a3afc739f
@ -13,6 +13,12 @@ in stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ meson ninja gettext appstream-glib ];
|
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";
|
outputHashAlgo = "sha256";
|
||||||
outputHashMode = "recursive";
|
outputHashMode = "recursive";
|
||||||
outputHash = "052nxmhw2j8yvcj90r8xhjf0mzim8h6syip7winxb28vavj6jnba";
|
outputHash = "052nxmhw2j8yvcj90r8xhjf0mzim8h6syip7winxb28vavj6jnba";
|
||||||
|
Loading…
Reference in New Issue
Block a user