From 65e80ffb4f544e19d02d7a87ee370714f96d2251 Mon Sep 17 00:00:00 2001 From: Tobias Hammerschmidt Date: Wed, 27 Feb 2008 16:51:29 +0000 Subject: [PATCH] thunderbird 2.0.0.12 svn path=/nixpkgs/trunk/; revision=10879 --- .../networking/mailreaders/thunderbird-2.x/builder.sh | 5 +++++ .../networking/mailreaders/thunderbird-2.x/default.nix | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/mailreaders/thunderbird-2.x/builder.sh b/pkgs/applications/networking/mailreaders/thunderbird-2.x/builder.sh index 7635910ae9fa..cb7a22fc3af3 100644 --- a/pkgs/applications/networking/mailreaders/thunderbird-2.x/builder.sh +++ b/pkgs/applications/networking/mailreaders/thunderbird-2.x/builder.sh @@ -6,6 +6,11 @@ postInstall() { # Strip some more stuff strip -S $out/lib/*/* || true + # Fix some references to /bin paths in the Thunderbird shell script. + substituteInPlace $out/bin/thunderbird \ + --replace /bin/pwd "$(type -tP pwd)" \ + --replace /bin/ls "$(type -tP ls)" + # This fixes starting Thunderbird when there already is a running # instance. The `thunderbird' wrapper script actually expects to # be in the same directory as `run-mozilla.sh', apparently. diff --git a/pkgs/applications/networking/mailreaders/thunderbird-2.x/default.nix b/pkgs/applications/networking/mailreaders/thunderbird-2.x/default.nix index d90d28b373cf..7032333b8882 100644 --- a/pkgs/applications/networking/mailreaders/thunderbird-2.x/default.nix +++ b/pkgs/applications/networking/mailreaders/thunderbird-2.x/default.nix @@ -11,12 +11,12 @@ }: stdenv.mkDerivation { - name = "thunderbird-2.0.0.9"; + name = "thunderbird-2.0.0.12"; builder = ./builder.sh; src = fetchurl { - url = http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/2.0.0.9/source/thunderbird-2.0.0.9-source.tar.bz2; - sha1 = "fede9db98f25adb978b84129a6d15a4dbe6bbb3e"; + url = http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/2.0.0.12/source/thunderbird-2.0.0.12-source.tar.bz2; + sha1 = "36ea64353d32a9f138ef658250cfdcf8f9e862f2"; }; buildInputs = [