diff --git a/pkgs/games/xconq/default.nix b/pkgs/games/xconq/default.nix index 6d7c9f4e6fbb..8f4366fbcb87 100644 --- a/pkgs/games/xconq/default.nix +++ b/pkgs/games/xconq/default.nix @@ -12,7 +12,7 @@ stdenv.mkDerivation rec { }; buildInputs = [ cpio xorgproto libX11 libXmu libXaw libXt tcl tk libXext - fontconfig makeWrapper tcl.tclPackageHook ]; + fontconfig makeWrapper ]; configureFlags = [ "--enable-alternate-scoresdir=scores" @@ -39,6 +39,12 @@ stdenv.mkDerivation rec { sed -re 's@MediumBlue@LightBlue@g' -i tcltk/tkconq.tcl ''; + postInstall = '' + for file in $out/bin/*; do + wrapProgram $file --prefix TCLLIBPATH ' ' "${tk}/lib" + done + ''; + meta = with lib; { description = "A programmable turn-based strategy game"; maintainers = with maintainers; [ raskin ];