summary refs log tree commit diff
diff options
context:
space:
mode:
authorthird3ye <tredje0ye@gmail.com>2014-06-16 05:24:24 +0200
committerthird3ye <tredje0ye@gmail.com>2014-06-16 05:24:24 +0200
commita322687423dc1370f6d6ffb554ebe3bad07d0be5 (patch)
tree7ac6fe3c2debbb8ed4d5756522a40a0c50bdf521
parent5f960cc8931450b2c62327f4beb928e65c226a66 (diff)
downloadnixlib-a322687423dc1370f6d6ffb554ebe3bad07d0be5.tar
nixlib-a322687423dc1370f6d6ffb554ebe3bad07d0be5.tar.gz
nixlib-a322687423dc1370f6d6ffb554ebe3bad07d0be5.tar.bz2
nixlib-a322687423dc1370f6d6ffb554ebe3bad07d0be5.tar.lz
nixlib-a322687423dc1370f6d6ffb554ebe3bad07d0be5.tar.xz
nixlib-a322687423dc1370f6d6ffb554ebe3bad07d0be5.tar.zst
nixlib-a322687423dc1370f6d6ffb554ebe3bad07d0be5.zip
Application.ini does not refer correctly
The "Application.ini" provided with Thunderbird does not correctly set the path to the icon location. Visa vi it refers to '$out/lib/thunderbird-17.0.11esr', which doesn't exist, but '$out/lib/thunderbird-17.0.11' does. To remedy this problem I added a new variable called 'verName" which adds 'esr' after the variable '$version'. Then change the variables necessary so that the build process sets working references.

Fuuzetsu suggested putting the verName variable inside of mkDerivation. I cannot surmise.
-rw-r--r--pkgs/applications/networking/mailreaders/thunderbird/default.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/applications/networking/mailreaders/thunderbird/default.nix b/pkgs/applications/networking/mailreaders/thunderbird/default.nix
index 3a8dab10ff28..85dab3777ba9 100644
--- a/pkgs/applications/networking/mailreaders/thunderbird/default.nix
+++ b/pkgs/applications/networking/mailreaders/thunderbird/default.nix
@@ -12,13 +12,14 @@
   enableOfficialBranding ? false
 }:
 
-let version = "17.0.11esr"; in
+let version = "17.0.11"; in
+let verName = "${version}esr"; in
 
 stdenv.mkDerivation {
-  name = "thunderbird-${version}";
+  name = "thunderbird-${verName}";
 
   src = fetchurl {
-    url = "ftp://ftp.mozilla.org/pub/thunderbird/releases/${version}/source/thunderbird-${version}.source.tar.bz2";
+    url = "ftp://ftp.mozilla.org/pub/thunderbird/releases/${verName}/source/thunderbird-${verName}.source.tar.bz2";
     sha256 = "1m2lph8x82kgxqzlyaxr1l1x7s4qnqfzfnqck4b777914mrv1mdp";
   };