git.iko.soy/typeable/nixpkgs
on master help sign in
intltool: fix problems with perl-5.22

http://hydra.nixos.org/build/33608086/nixlog/1/raw

commit117183e27e273f6c8c121b8281d06d07e9b502c2 authorVladimír Čunát <vcunat@gmail.com> dateTue 29 Mar 2016, 11:12 (11 years ago) parentf4cb39c
1 file changed+9−1
pkgs/development/tools/misc/intltool/default.nix+9−1
pkgs/development/tools/misc/intltool/default.nix+9−1
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, gettext, perl, perlXMLParser }:
1+{ stdenv, fetchurl, fetchpatch, gettext, perl, perlXMLParser }:
22
33stdenv.mkDerivation rec {
44 name = "intltool-${version}";
@@ -9,6 +9,14 @@ stdenv.mkDerivation rec {
99 sha256 = "1karx4sb7bnm2j67q0q74hspkfn6lqprpy5r99vkn5bb36a4viv7";
1010 };
1111
12+ # fix "unescaped left brace" errors when using intltool in some cases
13+ patches = [(fetchpatch {
14+ name = "perl-5.22.patch";
15+ url = "https://anonscm.debian.org/viewvc/pkg-gnome/desktop/unstable/intltool"
16+ + "/debian/patches/perl5.22-regex-fixes?revision=47255&view=co";
17+ sha256 = "17clqczb9fky7hp8czxa0fy82b5478irvz4f3fnans3sqxl95hx3";
18+ })];
19+
1220 propagatedBuildInputs = [ gettext perl perlXMLParser ];
1321
1422 meta = with stdenv.lib; {