diff options
author | Peter Simons <simons@cryp.to> | 2012-11-23 22:22:52 +0100 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2012-11-23 22:22:52 +0100 |
commit | 0a6914a1ffdcde487460f54508409384d09c340a (patch) | |
tree | 1ba286871beb23a50206dbb6c5a9abdd39d52244 /pkgs/applications/graphics/gocr | |
parent | 6287f78dcff446228e2e8ed874fe64d9ddfc8855 (diff) | |
download | nixpkgs-0a6914a1ffdcde487460f54508409384d09c340a.tar nixpkgs-0a6914a1ffdcde487460f54508409384d09c340a.tar.gz nixpkgs-0a6914a1ffdcde487460f54508409384d09c340a.tar.bz2 nixpkgs-0a6914a1ffdcde487460f54508409384d09c340a.tar.lz nixpkgs-0a6914a1ffdcde487460f54508409384d09c340a.tar.xz nixpkgs-0a6914a1ffdcde487460f54508409384d09c340a.tar.zst nixpkgs-0a6914a1ffdcde487460f54508409384d09c340a.zip |
gocr: fix path to 'wish' in gocr.tcl
Diffstat (limited to 'pkgs/applications/graphics/gocr')
-rw-r--r-- | pkgs/applications/graphics/gocr/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/applications/graphics/gocr/default.nix b/pkgs/applications/graphics/gocr/default.nix index ec0f9ef835c..0e8f860c510 100644 --- a/pkgs/applications/graphics/gocr/default.nix +++ b/pkgs/applications/graphics/gocr/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl }: +{ stdenv, fetchurl, tk }: stdenv.mkDerivation rec { name = "gocr-0.49"; @@ -8,6 +8,10 @@ stdenv.mkDerivation rec { sha256 = "06hpzp7rkkwfr1fvmc8kcfz9v490i9yir7f7imh13gmka0fr6afc"; }; + postInstall = '' + sed -i -e 's|exec wish|exec ${tk}/bin/wish|' $out/bin/gocr.tcl + ''; + meta = { homepage = "http://jocr.sourceforge.net/"; description = "GPL Optical Character Recognition"; |