From 372aaf63e11ede1c2851ebd8337db1b1b1ab6797 Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Tue, 31 May 2011 20:18:40 +0000 Subject: [PATCH] MediumBlue is currently too dark to be background for black checkmark, correct to Light svn path=/nixpkgs/trunk/; revision=27340 --- pkgs/games/xconq/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/games/xconq/default.nix b/pkgs/games/xconq/default.nix index b9266cb88af7..1af7f42beb1e 100644 --- a/pkgs/games/xconq/default.nix +++ b/pkgs/games/xconq/default.nix @@ -30,8 +30,8 @@ rec { inherit buildInputs; /* doConfigure should be removed if not needed */ - phaseNames = ["addInputs" "doUnpack" "fixMakefiles" "fixCfiles" "doConfigure" - "doMakeInstall" "doWrap"]; + phaseNames = ["addInputs" "doUnpack" "fixMakefiles" "fixCfiles" "fixTCLfiles" + "doConfigure" "doMakeInstall" "doWrap"]; doWrap = a.makeManyWrappers ''$out/bin/*'' ''--prefix TCLLIBPATH : "${tk}/lib"''; @@ -46,6 +46,10 @@ rec { sed -re '/unitp = view_unit[(]uview[)]/aelse *unitp = NULL\;' -i tcltk/tkmap.c '' ["minInit" "doUnpack"]; + fixTCLfiles = a.fullDepEntry '' + sed -re 's@MediumBlue@LightBlue@g' -i tcltk/tkconq.tcl + '' ["minInit" "doUnpack"]; + configureFlags = [ "--enable-alternate-scoresdir=scores" "--with-tclconfig=${tcl}/lib"