anchor.diff:    #         /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa: file system sandbox blocked stat()
     # /nix/store/in41dz8byyyz4c0w132l7mqi43liv4yr-stdenv-darwin/setup: line 1310:  2231 Abort trap: 6           signal-cli --version
     doInstallCheck = stdenv.isLinux;
  +
     installCheckPhase = ''
       export PATH=$PATH:$out/bin
       # --help returns non-0 exit code even when working
  
positive.code:     sha256 = "1gvdifscyxmxn2dwlkqi684ahy5kbcj84mqda0m8l4aa8iaq1d59";
    };
  
    buildInputs = [ makeWrapper ];
  
    installPhase = ''
      mkdir -p $out/bin
      cp -r lib $out/lib
      cp bin/signal-cli $out/bin/signal-cli
      wrapProgram $out/bin/signal-cli \
        --prefix PATH : ${lib.makeBinPath [ jre_headless ]} \
        --set JAVA_HOME ${jre_headless}
    '';
  
    # Execution in the macOS (10.13) sandbox fails with
    # dyld: Library not loaded: /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
  
negative.code: { stdenv, lib, fetchurl, makeWrapper, jre_headless, libmatthew_java, dbus, dbus_java }:
  
  stdenv.mkDerivation rec {
    pname = "signal-cli";
  