From 1102018a0004a1541e587908b7c457e7f4888549 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Mon, 7 Sep 2015 02:08:23 +0200 Subject: [PATCH] htop: touch all headers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix the following build failure: ``` config.status: executing libtool commands building make flags: SHELL=/nix/store/548wfw1i43glkx8lkyjmbg59h6127qky-bash-4.3-p39/bin/bash ./scripts/MakeHeader.py ColumnsPanel.c /usr/bin/env: python: No such file or directory Makefile:2164: recipe for target 'ColumnsPanel.h' failed make: *** [ColumnsPanel.h] Error 127 builder for ‘/nix/store/6rai1vs6jsw8y5z5jff98f0f8jzfa12n-htop-1.0.3-584-8f07868f.drv’ failed with exit code 2 ``` --- pkgs/os-specific/linux/htop/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/os-specific/linux/htop/default.nix b/pkgs/os-specific/linux/htop/default.nix index 873795c9752..8f3250f85f7 100644 --- a/pkgs/os-specific/linux/htop/default.nix +++ b/pkgs/os-specific/linux/htop/default.nix @@ -13,6 +13,10 @@ stdenv.mkDerivation rec { buildInputs = [ ncurses ]; nativeBuildInputs = [ autoreconfHook ]; + postPatch = '' + touch *.h # unnecessary regeneration requires Python + ''; + meta = { description = "An interactive process viewer for Linux"; homepage = "http://htop.sourceforge.net";