nixpkgs/pkgs/development/libraries/tk/8.6.nix
Ricardo M. Correia d9bf02324a tk-8_6: fix hash after tcl-8_6 update
tcl-8_6 was updated in 4fb92ae60d from
8.6.9 -> 8.6.11 but tk's hash wasn't updated at the same time,
which means the current hash was still from tk 8.6.9 rather than 8.6.11.
2021-06-06 01:40:39 +02:00

13 lines
440 B
Nix

{ callPackage, fetchurl, tcl, lib, stdenv, ... } @ args:
callPackage ./generic.nix (args // {
src = fetchurl {
url = "mirror://sourceforge/tcl/tk${tcl.version}.1-src.tar.gz"; # TODO: remove '.1' for v8.6.10 or v8.7.x
sha256 = "1gh9k7l76qg9l0sb78ijw9xz4xl1af47aqbdifb6mjpf3cbsnv00";
};
patches = [ ./different-prefix-with-tcl.patch ] ++ lib.optionals stdenv.isDarwin [ ./Fix-bad-install_name-for-libtk8.6.dylib.patch ];
})