mercurial: also compile translations

Without gettext as a dependency, we won't compile the .po files.
This commit is contained in:
Luke Granger-Brown 2021-05-03 18:38:56 +00:00
parent 38e505f20a
commit eb3d65bf19

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, python3Packages, makeWrapper { lib, stdenv, fetchurl, python3Packages, makeWrapper, gettext
, rustSupport ? stdenv.hostPlatform.isLinux, rustPlatform , rustSupport ? stdenv.hostPlatform.isLinux, rustPlatform
, guiSupport ? false, tk ? null , guiSupport ? false, tk ? null
, ApplicationServices , ApplicationServices
@ -28,7 +28,7 @@ in python3Packages.buildPythonApplication rec {
} else null; } else null;
cargoRoot = if rustSupport then "rust" else null; cargoRoot = if rustSupport then "rust" else null;
nativeBuildInputs = [ makeWrapper ] nativeBuildInputs = [ makeWrapper gettext ]
++ lib.optionals rustSupport (with rustPlatform; [ ++ lib.optionals rustSupport (with rustPlatform; [
cargoSetupHook cargoSetupHook
rust.cargo rust.cargo