mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
perlPackages.LocalGettext: fix on both Linux and Darwin
This commit is contained in:
parent
b1adfeb23d
commit
c904f35728
@ -5104,8 +5104,8 @@ let self = _self // overrides; _self = with self; {
|
||||
|
||||
LocaleGettext = buildPerlPackage {
|
||||
name = "LocaleGettext-1.05";
|
||||
buildInputs = [ pkgs.gettext ];
|
||||
NIX_CFLAGS_LINK = "-lintl";
|
||||
buildInputs = stdenv.lib.optional stdenv.isDarwin pkgs.gettext;
|
||||
NIX_CFLAGS_LINK = if stdenv.isDarwin then "-lintl" else null;
|
||||
src = fetchurl {
|
||||
url = mirror://cpan/authors/id/P/PV/PVANDRY/gettext-1.05.tar.gz;
|
||||
sha256 = "15262a00vx714szpx8p2z52wxkz46xp7acl72znwjydyq4ypydi7";
|
||||
|
Loading…
Reference in New Issue
Block a user