about summary refs log tree commit diff
path: root/pkgs/applications/networking
diff options
context:
space:
mode:
authorMichael Weiss <dev.primeos@gmail.com>2019-09-07 17:20:13 +0200
committerMichael Weiss <dev.primeos@gmail.com>2019-09-07 17:37:05 +0200
commit5d1abc68e7b1025e90f993711319aa3058ac70d6 (patch)
tree9ee1f025d83b4ab0abdf0a32c7c80c9fe6c22106 /pkgs/applications/networking
parent18b783b9bdb7c2add9869973393205982ad1a704 (diff)
downloadnixlib-5d1abc68e7b1025e90f993711319aa3058ac70d6.tar
nixlib-5d1abc68e7b1025e90f993711319aa3058ac70d6.tar.gz
nixlib-5d1abc68e7b1025e90f993711319aa3058ac70d6.tar.bz2
nixlib-5d1abc68e7b1025e90f993711319aa3058ac70d6.tar.lz
nixlib-5d1abc68e7b1025e90f993711319aa3058ac70d6.tar.xz
nixlib-5d1abc68e7b1025e90f993711319aa3058ac70d6.tar.zst
nixlib-5d1abc68e7b1025e90f993711319aa3058ac70d6.zip
signal-desktop: Document the build "expiration"
This adds a comment why it's important to always backport any updates as
suggested in #68232. I've als included a few more details to document
the behaviour.

Sources:
- Default build lifetime [0]
- asar - Electron Archive [1]

[0]: https://github.com/signalapp/Signal-Desktop/blob/d3d2b0ec529ffd5ad74deb17831005a1acacc949/Gruntfile.js#L222
[1]: https://github.com/electron/asar
Diffstat (limited to 'pkgs/applications/networking')
-rw-r--r--pkgs/applications/networking/instant-messengers/signal-desktop/default.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/applications/networking/instant-messengers/signal-desktop/default.nix b/pkgs/applications/networking/instant-messengers/signal-desktop/default.nix
index c5f4468df5aa..f217084585a2 100644
--- a/pkgs/applications/networking/instant-messengers/signal-desktop/default.nix
+++ b/pkgs/applications/networking/instant-messengers/signal-desktop/default.nix
@@ -58,7 +58,13 @@ let
 
 in stdenv.mkDerivation rec {
   pname = "signal-desktop";
-  version = "1.27.2";
+  version = "1.27.2"; # Please backport all updates to the stable channel.
+  # All releases have a limited lifetime and "expire" 90 days after the release.
+  # When releases "expire" the application becomes unusable until an update is
+  # applied. The expiration date for the current release can be extracted with:
+  # $ grep -a "^{\"buildExpiration" "${signal-desktop}/libexec/resources/app.asar"
+  # (Alternatively we could try to patch the asar archive, but that requires a
+  # few additional steps and might not be the best idea.)
 
   src = fetchurl {
     url = "https://updates.signal.org/desktop/apt/pool/main/s/signal-desktop/signal-desktop_${version}_amd64.deb";