diff --git a/pkgs/games/xconq/default.nix b/pkgs/games/xconq/default.nix index 8f4366fbcb87..6d7c9f4e6fbb 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 ]; + fontconfig makeWrapper tcl.tclPackageHook ]; configureFlags = [ "--enable-alternate-scoresdir=scores" @@ -39,12 +39,6 @@ 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 ];