diff options
author | nixinator <33lockdown33@protonmail.com> | 2021-04-20 02:13:37 +0100 |
---|---|---|
committer | nixinator <33lockdown33@protonmail.com> | 2021-04-21 03:41:56 +0100 |
commit | 390b3b192d69a6760e8465fe781d04ef054ec438 (patch) | |
tree | 71e1455d3edbdbffdc927e9b7e0dbcf42228e422 /pkgs/development/libraries/tk | |
parent | 6faea022df10a24f7c7b03dc9014a6f85b83a449 (diff) |
tk-8.6.6: demos/hello: exec: wish8.6: not found. fixes #31311
Diffstat (limited to 'pkgs/development/libraries/tk')
-rw-r--r-- | pkgs/development/libraries/tk/generic.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/libraries/tk/generic.nix b/pkgs/development/libraries/tk/generic.nix index 57dc3dac2d095..ecb3840b2de3b 100644 --- a/pkgs/development/libraries/tk/generic.nix +++ b/pkgs/development/libraries/tk/generic.nix @@ -16,6 +16,12 @@ stdenv.mkDerivation { cd unix ''; + postPatch = '' + for file in $(find library/demos/. -type f ! -name "*.*"); do + substituteInPlace $file --replace "exec wish" "exec $out/bin/wish" + done + ''; + postInstall = '' ln -s $out/bin/wish* $out/bin/wish cp ../{unix,generic}/*.h $out/include |