mc: add autoreconfHook instead of /usr/bin/file patch
The error is still there but harmless. It should be rather fixed in autoconf than in every package that uses autotools.
This commit is contained in:
parent
784740aee0
commit
841b89cac8
@ -15,6 +15,7 @@
|
|||||||
, libssh2
|
, libssh2
|
||||||
, openssl
|
, openssl
|
||||||
, coreutils
|
, coreutils
|
||||||
|
, autoreconfHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -26,17 +27,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0ikd2yql44p7nagmb08dmjqdwadclnvgr7ri9pmzc2s5f301r7w5";
|
sha256 = "0ikd2yql44p7nagmb08dmjqdwadclnvgr7ri9pmzc2s5f301r7w5";
|
||||||
};
|
};
|
||||||
|
|
||||||
preConfigure = ''
|
nativeBuildInputs = [ pkgconfig autoreconfHook ];
|
||||||
for f in \
|
|
||||||
./configure \
|
|
||||||
./config/ltmain.sh \
|
|
||||||
./m4/libtool.m4 \
|
|
||||||
; do
|
|
||||||
substituteInPlace $f --replace /usr/bin/file ${file}/bin/file
|
|
||||||
done
|
|
||||||
'';
|
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
file
|
file
|
||||||
|
Loading…
x
Reference in New Issue
Block a user