anchor.diff:    longName = "Visual Studio Code" + lib.optionalString isInsiders " - Insiders";
     shortName = "Code" + lib.optionalString isInsiders " - Insiders";
   
  +  inherit (stdenv.hostPlatform) system;
  +
     plat = {
       "i686-linux" = "linux-ia32";
       "x86_64-linux" = "linux-x64";
       "x86_64-darwin" = "darwin";
  -  }.${stdenv.hostPlatform.system};
  +  }.${system};
   
     sha256 = {
       "i686-linux" = "1g73fay6fxlqhalkqq5m6rjbp68k9npk0rrxrkhdj8mw0cz74dpm";
  
positive.code:         cp $out/lib/vscode/resources/app/resources/linux/code.png $out/share/pixmaps/code.png
        '';
  
      postFixup = lib.optionalString (stdenv.hostPlatform.system == "i686-linux" || stdenv.hostPlatform.system == "x86_64-linux") ''
        wrapProgram $out/lib/vscode/${executableName} \
          --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ systemd fontconfig ]}
  
        ln -s ${lib.makeLibraryPath [libsecret]}/libsecret-1.so.0 $out/lib/vscode/libsecret-1.so.0
      '';
  
      meta = with stdenv.lib; {
  
negative.code: 
      nativeBuildInputs = lib.optional (!stdenv.isDarwin) autoPatchelfHook;
  
      dontBuild = true;
      dontConfigure = true;
  
      installPhase =
        if system == "x86_64-darwin" then ''
          mkdir -p $out/lib/vscode $out/bin
          cp -r ./* $out/lib/vscode
          ln -s $out/lib/vscode/Contents/Resources/app/bin/${executableName} $out/bin
  