anchor.diff: -# Compiler in stdenv MUST be a supported one for official branding
  -# See https://developer.palemoon.org/build/linux/
  -# TODO assert if stdenv.cc is supported?
   { stdenv
   , lib
   , fetchFromGitHub
  
positive.code:     ./mach install
  
      # Fix missing icon due to wrong WMClass
      # TODO report upstream
      substituteInPlace ./palemoon/branding/official/palemoon.desktop \
        --replace 'StartupWMClass="pale moon"' 'StartupWMClass=Pale moon'
      desktop-file-install --dir=$out/share/applications \
  
negative.code: in
  stdenv.mkDerivation rec {
    pname = "palemoon";
    version = "29.2.1";
  
    src = fetchFromGitHub {
      githubBase = "repo.palemoon.org";
      owner = "MoonchildProductions";
      repo = "Pale-Moon";
      rev = "${version}_Release";
      sha256 = "0djjl79jrnny16p32db5w7pwwv0a24dc8mg1s1bnavhlvmmk52vq";
      fetchSubmodules = true;
    };
  
  