mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 22:20:51 +00:00
gtk-doc: don't use pythonEnv for binaries
This commit is contained in:
parent
d9e00f8acf
commit
9424d15561
|
@ -1,9 +1,6 @@
|
||||||
{ stdenv, fetchurl, autoreconfHook, pkgconfig, perl, python, libxml2Python, libxslt, which
|
{ stdenv, fetchurl, autoreconfHook, pkgconfig, perl, python, libxml2Python, libxslt, which
|
||||||
, docbook_xml_dtd_43, docbook_xsl, gnome-doc-utils, dblatex, gettext, itstool }:
|
, docbook_xml_dtd_43, docbook_xsl, gnome-doc-utils, dblatex, gettext, itstool
|
||||||
|
}:
|
||||||
let
|
|
||||||
pythonEnv = python.withPackages (ps: with ps; [ six ]);
|
|
||||||
in
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "gtk-doc-${version}";
|
name = "gtk-doc-${version}";
|
||||||
|
@ -22,11 +19,17 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook ];
|
nativeBuildInputs = [ autoreconfHook ];
|
||||||
buildInputs =
|
buildInputs =
|
||||||
[ pkgconfig perl pythonEnv libxml2Python libxslt docbook_xml_dtd_43 docbook_xsl
|
[ pkgconfig perl python libxml2Python libxslt docbook_xml_dtd_43 docbook_xsl
|
||||||
gnome-doc-utils dblatex gettext which itstool
|
gnome-doc-utils dblatex gettext which itstool
|
||||||
];
|
];
|
||||||
|
|
||||||
configureFlags = "--disable-scrollkeeper";
|
configureFlags = [ "--disable-scrollkeeper" ];
|
||||||
|
|
||||||
|
# Make six available for binaries, python.withPackages creates a wrapper
|
||||||
|
# but scripts are not allowed in shebangs so we link it into sys.path.
|
||||||
|
postInstall = ''
|
||||||
|
ln -s ${python.pkgs.six}/lib/python2.7/site-packages/* $out/share/gtk-doc/python/
|
||||||
|
'';
|
||||||
|
|
||||||
doCheck = false; # requires a lot of stuff
|
doCheck = false; # requires a lot of stuff
|
||||||
doInstallCheck = false; # fails
|
doInstallCheck = false; # fails
|
||||||
|
|
Loading…
Reference in a new issue