mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 21:57:02 +03:00
tk-8.6.6: demos/hello: exec: wish8.6: not found. fixes #31311
This commit is contained in:
parent
6faea022df
commit
390b3b192d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user