zile: disable help2man for cross builds
@dezgeg caught my error--the issue isn't building help2man, but running
it on cross-compiled binaries.
This effectively reverts 0825f30fd2 as
far as behavior is concerned, but keeps the removal of `crossAttrs`.
This commit is contained in:
@@ -9,7 +9,12 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ pkgconfig ncurses boehmgc ];
|
buildInputs = [ pkgconfig ncurses boehmgc ];
|
||||||
nativeBuildInputs = [ help2man perl ];
|
nativeBuildInputs = [ perl ]
|
||||||
|
# `help2man' wants to run Zile, which won't work when the
|
||||||
|
# newly-produced binary can't be run at build-time.
|
||||||
|
++ stdenv.lib.optional
|
||||||
|
(stdenv.hostPlatform == stdenv.buildPlatform)
|
||||||
|
help2man;
|
||||||
|
|
||||||
# Tests can't be run because most of them rely on the ability to
|
# Tests can't be run because most of them rely on the ability to
|
||||||
# fiddle with the terminal.
|
# fiddle with the terminal.
|
||||||
|
|||||||
Reference in New Issue
Block a user