Skip to content

Commit

Permalink
zile: disable help2man for cross builds
Browse files Browse the repository at this point in the history
@dezgeg caught my error--the issue isn't building help2man, but running
it on cross-compiled binaries.

This effectively reverts 0825f30 as
far as behavior is concerned, but keeps the removal of `crossAttrs`.
  • Loading branch information
Ericson2314 committed Sep 6, 2017
1 parent 8e37e74 commit 28e4975
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pkgs/applications/editors/zile/default.nix
Expand Up @@ -9,7 +9,12 @@ stdenv.mkDerivation rec {
};

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
# fiddle with the terminal.
Expand Down

0 comments on commit 28e4975

Please sign in to comment.