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
1 changed files with 6 additions and 0 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue