3
0
Fork 0
forked from mirrors/nixpkgs

poke: use dontWrapTclBinaries

This commit is contained in:
Francesco Gazzetta 2023-01-19 10:46:13 +01:00
parent 9d9eceb7e0
commit 48125f1ee9

View file

@ -80,13 +80,13 @@ in stdenv.mkDerivation rec {
moveToOutput share/vim "$out"
'';
# Prevent tclPackageHook from auto-wrapping all binaries, we only
# need to wrap poke-gui
dontWrapTclBinaries = true;
postFixup = lib.optionalString guiSupport ''
wrapProgram "$out/bin/poke-gui" \
--prefix TCLLIBPATH ' ' "$TCLLIBPATH"
# Prevent tclPackageHook from auto-wrapping all binaries, we only
# need to wrap poke-gui
unset TCLLIBPATH
'';
passthru = {