Skip to content

Commit

Permalink
cantarell-fonts: ad-hoc fix for build
Browse files Browse the repository at this point in the history
`GETTEXTDATADIRS` isn't populated correctly due to empty buildInputs. Borrow from
`GETTEXTDATADIRS_FOR_BUILD` until we fix gettext's envHook.

see: #50855
  • Loading branch information
hedning committed Nov 22, 2018
1 parent 86d247d commit c715a83
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkgs/data/fonts/cantarell-fonts/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit c715a83

Please sign in to comment.