diff options
Diffstat (limited to 'pkgs/by-name/re/remind/package.nix')
-rw-r--r-- | pkgs/by-name/re/remind/package.nix | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/pkgs/by-name/re/remind/package.nix b/pkgs/by-name/re/remind/package.nix index 78ae694b1659..eb01ac3c885d 100644 --- a/pkgs/by-name/re/remind/package.nix +++ b/pkgs/by-name/re/remind/package.nix @@ -3,7 +3,7 @@ stdenv, fetchurl, tk, - tcllib, + tclPackages, tcl, tkremind ? null, withGui ? @@ -15,15 +15,15 @@ tcl.mkTclDerivation rec { pname = "remind"; - version = "05.00.02"; + version = "05.00.07"; src = fetchurl { url = "https://dianne.skoll.ca/projects/remind/download/remind-${version}.tar.gz"; - hash = "sha256-XxVjAV3TGDPI8XaFXXSminsMffq8m8ljw68YMIC2lYg="; + hash = "sha256-id3yVyKHRSJWhm8r4Zmc/k61AZUt1wa3lArQktDbt9w="; }; propagatedBuildInputs = lib.optionals withGui [ - tcllib + tclPackages.tcllib tk ]; @@ -31,14 +31,14 @@ tcl.mkTclDerivation rec { # NOTA BENE: The path to rem2pdf is replaced in tkremind for future use # as rem2pdf is currently not build since it requires the JSON::MaybeXS, # Pango and Cairo Perl modules. - substituteInPlace scripts/tkremind \ + substituteInPlace scripts/tkremind.in \ --replace-fail "exec wish" "exec ${lib.getExe' tk "wish"}" \ --replace-fail 'set Remind "remind"' "set Remind \"$out/bin/remind\"" \ --replace-fail 'set Rem2PS "rem2ps"' "set Rem2PS \"$out/bin/rem2ps\"" \ --replace-fail 'set Rem2PDF "rem2pdf"' "set Rem2PDF \"$out/bin/rem2pdf\"" ''; - env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin (toString [ + env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin (toString [ # On Darwin setenv and unsetenv are defined in stdlib.h from libSystem "-DHAVE_SETENV" "-DHAVE_UNSETENV" |