Merge pull request #119917 from nixinator/tkfix
tk: fix ``exec wish8.6: not found`` in demos/hello
This commit is contained in:
commit
5e19c0c0d0
@ -16,6 +16,12 @@ stdenv.mkDerivation {
|
|||||||
cd unix
|
cd unix
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
for file in $(find library/demos/. -type f ! -name "*.*"); do
|
||||||
|
substituteInPlace $file --replace "exec wish" "exec $out/bin/wish"
|
||||||
|
done
|
||||||
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
ln -s $out/bin/wish* $out/bin/wish
|
ln -s $out/bin/wish* $out/bin/wish
|
||||||
cp ../{unix,generic}/*.h $out/include
|
cp ../{unix,generic}/*.h $out/include
|
||||||
|
Loading…
x
Reference in New Issue
Block a user