ntdb: Attempt darwin fix and use patchShebangs

This commit is contained in:
William A. Kennington III 2015-04-04 19:57:13 -07:00
parent bfe79e4b9a
commit 88cfd89c16

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, python, pkgconfig, readline, libxslt
{ stdenv, fetchurl, python, pkgconfig, readline, gettext, libxslt
, docbook_xsl, docbook_xml_dtd_42
}:
@ -11,11 +11,11 @@ stdenv.mkDerivation rec {
};
buildInputs = [
python pkgconfig readline libxslt docbook_xsl docbook_xml_dtd_42
python pkgconfig readline gettext libxslt docbook_xsl docbook_xml_dtd_42
];
preConfigure = ''
sed -i 's,#!/usr/bin/env python,#!${python}/bin/python,g' buildtools/bin/waf
patchShebangs buildtools/bin/waf
'';
configureFlags = [