anchor.diff:    doCheck = false;
   
     postInstall = ''
  -    # Despite setting usr_share above, these files are installed under
  -    # $out/nix ...
  -    mv $out/${python.sitePackages}/nix/store"/"*/share $out
  -    rm -rf $out/${python.sitePackages}/nix
  +    # These files are installed under $out/homeless-shelter ...
  +    mv $out/${python.sitePackages}/homeless-shelter/.local/share $out
  +    rm -rf $out/${python.sitePackages}/homeless-shelter
   
       substituteInPlace $out/share/applications/electron-cash.desktop \
         --replace "Exec=electron-cash %u" "Exec=$out/bin/electron-cash %u"
  
positive.code:   '';
  
    preBuild = ''
      sed -i 's,usr_share = .*,usr_share = "'$out'/share",g' setup.py
      pyrcc5 icons.qrc -o gui/qt/icons_rc.py
      # Recording the creation timestamps introduces indeterminism to the build
      sed -i '/Created: .*/d' gui/qt/icons_rc.py
  
negative.code: in
  
  python3Packages.buildPythonApplication rec {
    version = "3.3";
    name = "electron-cash-${version}";
  
    src = fetchurl {
      url = "https://electroncash.org/downloads/${version}/win-linux/ElectronCash-${version}.tar.gz";
      # Verified using official SHA-1 and signature from
      # https://github.com/fyookball/keys-n-hashes
      sha256 = "1x487hyacdm1qhik1mhfimr4jwcwz7sgsbkh11awrb6j19sxdxym";
    };
  
    propagatedBuildInputs = with python3Packages; [
  