anchor.diff:    ];
   
     unpackPhase = ''
  +    runHook preUnpack
  +
       dpkg -x $src .
  +
  +    runHook postUnpack
     '';
   
     installPhase = ''
  +    runHook preInstall
  +
       mkdir -p $out/{bin,lib}
       cp -ar ./usr/share $out
   
  
positive.code: 
  stdenv.mkDerivation rec {
    pname = "mailspring";
    version = "1.8.0";
  
    src = fetchurl {
      url = "https://github.com/Foundry376/Mailspring/releases/download/${version}/mailspring-${version}-amd64.deb";
      sha256 = "BtzYcHN87qH7s3GiBrsDfmuy9v2xdhCeSShu8+T9T3E=";
    };
  
    nativeBuildInputs = [
  
negative.code: 
      ln -s $out/share/mailspring/mailspring $out/bin/mailspring
      ln -s ${openssl.out}/lib/libcrypto.so $out/lib/libcrypto.so.1.0.0
  
      runHook postInstall
    '';
  
    postFixup = /* sh */ ''
      substituteInPlace $out/share/applications/Mailspring.desktop \
        --replace Exec=mailspring Exec=$out/bin/mailspring
    '';
  
    meta = with lib; {
  