From d02609f7dc38945ca4a25c0b310c9ec539a016fe Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Sun, 10 May 2009 05:27:52 +0000 Subject: [PATCH] Fix includes in xxdiff svn path=/nixpkgs/trunk/; revision=15521 --- pkgs/development/tools/misc/xxdiff/3.2.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/development/tools/misc/xxdiff/3.2.nix b/pkgs/development/tools/misc/xxdiff/3.2.nix index f4a0b8bebc4..92d071362f3 100644 --- a/pkgs/development/tools/misc/xxdiff/3.2.nix +++ b/pkgs/development/tools/misc/xxdiff/3.2.nix @@ -10,7 +10,7 @@ rec { configureFlags = []; /* doConfigure should be specified separately */ - phaseNames = ["prepareMainBuild" + phaseNames = ["prepareMainBuild" "fixInc" "deploy" "installPythonPackage" (makeManyWrappers @@ -24,6 +24,10 @@ rec { make -f Makefile.bootstrap makefile '') ["minInit" "doUnpack"]; + fixInc = FullDepEntry('' + sed -e '1i\#include ' -i resources.inline.h + '') ["minInit" "doUnpack"]; + deploy = FullDepEntry ('' ensureDir $out/bin/ cp ../bin/xxdiff $out/bin