summary refs log tree commit diff
path: root/pkgs/development/tools/documentation
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2017-11-27 15:30:34 +0100
committerVladimír Čunát <vcunat@gmail.com>2017-11-27 15:30:34 +0100
commitfe812fd3df763e0b3437d161eeb5dba1bd1fdecf (patch)
treecd5fbd400e79430138b686d04ac474bbdf3d0ed7 /pkgs/development/tools/documentation
parent4440074c6bb8d8be38eb3399c5cba75e964aecab (diff)
parentc66656a18c6e428412b6bc6ce5f847bac4721386 (diff)
downloadnixlib-fe812fd3df763e0b3437d161eeb5dba1bd1fdecf.tar
nixlib-fe812fd3df763e0b3437d161eeb5dba1bd1fdecf.tar.gz
nixlib-fe812fd3df763e0b3437d161eeb5dba1bd1fdecf.tar.bz2
nixlib-fe812fd3df763e0b3437d161eeb5dba1bd1fdecf.tar.lz
nixlib-fe812fd3df763e0b3437d161eeb5dba1bd1fdecf.tar.xz
nixlib-fe812fd3df763e0b3437d161eeb5dba1bd1fdecf.tar.zst
nixlib-fe812fd3df763e0b3437d161eeb5dba1bd1fdecf.zip
Merge #29293: gnome-doc-utils: fix for paths cont. '+'
Diffstat (limited to 'pkgs/development/tools/documentation')
-rw-r--r--pkgs/development/tools/documentation/gnome-doc-utils/default.nix10
1 files changed, 8 insertions, 2 deletions
diff --git a/pkgs/development/tools/documentation/gnome-doc-utils/default.nix b/pkgs/development/tools/documentation/gnome-doc-utils/default.nix
index 5f0b6b628cb2..f6920a83e09c 100644
--- a/pkgs/development/tools/documentation/gnome-doc-utils/default.nix
+++ b/pkgs/development/tools/documentation/gnome-doc-utils/default.nix
@@ -10,8 +10,14 @@ python2Packages.buildPythonApplication {
     sha256 = "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb";
   };
 
+  nativeBuildInputs = [ intltool pkgconfig ];
+  buildInputs = [ libxslt ];
+
   configureFlags = "--disable-scrollkeeper";
-  nativeBuildInputs = [ pkgconfig ];
-  buildInputs = [ libxslt intltool ];
+
+  preBuild = ''
+    substituteInPlace xml2po/xml2po/Makefile --replace '-e "s+^#!.*python.*+#!$(PYTHON)+"' '-e "s\"^#!.*python.*\"#!$(PYTHON)\""'
+  '';
+
   propagatedBuildInputs = [ libxml2Python ];
 }