From 753ef6a635e99e34bfc202d84f59ac2e9422b4f4 Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Tue, 8 Nov 2011 10:19:50 +0000 Subject: [PATCH] Fix gosmore build - curl dropped curl/types.h svn path=/nixpkgs/trunk/; revision=30317 --- pkgs/applications/misc/gosmore/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/misc/gosmore/default.nix b/pkgs/applications/misc/gosmore/default.nix index 6da8ed05499..e93e2be85e3 100644 --- a/pkgs/applications/misc/gosmore/default.nix +++ b/pkgs/applications/misc/gosmore/default.nix @@ -17,7 +17,11 @@ rec { configureFlags = []; /* doConfigure should be removed if not needed */ - phaseNames = ["doConfigure" "doMakeInstall"]; + phaseNames = ["fixCurlIncludes" "doConfigure" "doMakeInstall"]; + + fixCurlIncludes = a.fullDepEntry '' + sed -e '/curl.types.h/d' -i *.{c,h,hpp,cpp} + '' ["minInit" "doUnpack"]; name = "gosmore-r21657"; meta = {