anchor.diff:        else "");
   in stdenv.mkDerivation rec {
     pname = "signal-desktop";
  -  version = "1.29.6"; # Please backport all updates to the stable channel.
  +  version = "1.30.0"; # 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:
  
positive.code:     # Fix the desktop link
      substituteInPlace $out/share/applications/signal-desktop.desktop \
        --replace /opt/Signal/signal-desktop $out/bin/signal-desktop
    '';
  
    meta = {
  
negative.code:   dontBuild = true;
    dontConfigure = true;
    dontPatchELF = true;
    # We need to run autoPatchelf manually with the "no-recurse" option, see
    # https://github.com/NixOS/nixpkgs/pull/78413 for the reasons.
    dontAutoPatchelf = true;
  
    installPhase = ''
      mkdir -p $out/lib
  
      mv usr/share $out/share
      mv opt/Signal $out/lib/Signal
  
      # Note: The following path contains bundled libraries:
      # $out/lib/Signal/resources/app.asar.unpacked/node_modules/sharp/vendor/lib/
      # We run autoPatchelf with the "no-recurse" option to avoid picking those
      # up, but resources/app.asar still requires them.
  
      # Symlink to bin
      mkdir -p $out/bin
  