mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-01 17:53:14 +00:00
xconq: Simplify package with tcl.tclPackageHook
This commit is contained in:
parent
f17ca3f517
commit
a4f54890d5
@ -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 ];
|
||||
|
Loading…
Reference in New Issue
Block a user