gnome-doc-utils: fix build for stores containing '+' character

This commit is contained in:
Dmitry Kalinkin 2017-09-12 21:02:03 -04:00 committed by Dmitry Kalinkin
parent 8559b6db82
commit c66656a18c
No known key found for this signature in database
GPG Key ID: 5157B3EC8B2CA333

View File

@ -10,8 +10,14 @@ python2Packages.buildPythonApplication {
sha256 = "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"; sha256 = "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb";
}; };
nativeBuildInputs = [ intltool pkgconfig ];
buildInputs = [ libxslt ];
configureFlags = "--disable-scrollkeeper"; configureFlags = "--disable-scrollkeeper";
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libxslt intltool ]; preBuild = ''
substituteInPlace xml2po/xml2po/Makefile --replace '-e "s+^#!.*python.*+#!$(PYTHON)+"' '-e "s\"^#!.*python.*\"#!$(PYTHON)\""'
'';
propagatedBuildInputs = [ libxml2Python ]; propagatedBuildInputs = [ libxml2Python ];
} }