Skip to content

Commit

Permalink
gettext: force-enable w/musl
Browse files Browse the repository at this point in the history
  • Loading branch information
dtzWill committed Mar 23, 2018
1 parent 0668872 commit 729302f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkgs/development/libraries/gettext/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,14 @@ stdenv.mkDerivation rec {
++ lib.optionals stdenv.isDarwin [
"gt_cv_func_CFPreferencesCopyAppValue=no"
"gt_cv_func_CFLocaleCopyCurrent=no"
]
# Force included gettext on musl
++ lib.optionals stdenv.hostPlatform.isMusl [
"--enable-nls"
"--with-included-gettext"
];


postPatch = ''
substituteAllInPlace gettext-runtime/src/gettext.sh.in
substituteInPlace gettext-tools/projects/KDE/trigger --replace "/bin/pwd" pwd
Expand Down

0 comments on commit 729302f

Please sign in to comment.