anchor.diff: -{ stdenv, libXScrnSaver, makeWrapper, fetchurl, unzip, atomEnv, libuuid, at-spi2-atk, at-spi2-core }:
  +{ stdenv, libXScrnSaver, makeWrapper, fetchurl, wrapGAppsHook, gtk3, unzip, atomEnv, libuuid, at-spi2-atk, at-spi2-core }:
   
   let
     version = "5.0.0";
  
positive.code:         $out/lib/electron/electron
  
        wrapProgram $out/lib/electron/electron \
          --prefix LD_PRELOAD : ${stdenv.lib.makeLibraryPath [ libXScrnSaver ]}/libXss.so.1
      '';
    };
  
  
negative.code:       };
      }.${stdenv.hostPlatform.system} or throwSystem;
  
      buildInputs = [ gtk3 ];
  
      nativeBuildInputs = [
        unzip
        makeWrapper
        wrapGAppsHook
      ];
  
      dontWrapGApps = true; # electron is in lib, we need to wrap it manually
  
      buildCommand = ''
        mkdir -p $out/lib/electron $out/bin
  