anchor.diff:      echo ______ gyp wrapper
       ${nodePackages.node-gyp}/bin/node-gyp "$@" --tarball ${electron-gyp} --nodedir $HOME/.node-gyp/${nodejs.version}
     '';
  -  hackNode16 = writeShellScriptBin "node-gyp" ''
  -    echo ______ gyp wrapper
  -    ${nodePackages.node-gyp}/bin/node-gyp "$@" --tarball ${electron-gyp} --nodedir $HOME/.node-gyp/${nodejs.version}
  -  '';
   in
   yarn2nix.mkYarnPackage {
     name = "daedalus-js";
  
positive.code:     sha256 = "18085a2509447fef8896daeee96a12f48f8e60a4d5ec4cfab44d8d59b9d89a72";
    };
    electronPathHash = builtins.hashString "sha256" electronPath;
    checksums = fetchurl {
      url = "https://github.com/electron/electron/releases/download/v${windowsElectronVersion}/SHASUMS256.txt";
      sha256 = "36252994ffddaa6ca71f664df7b90956a324cd22ce2e2dc94754ff3961e23a20";
    };
    electron-cache = runCommand "electron-cache" {} ''
      mkdir $out
      # we simulate the cache that is used when calling yarn package and the cache is located $HOME/.cache/electron
      mkdir $out/httpsgithub.comelectronelectronreleasesdownloadv${windowsElectronVersion}SHASUMS256.txt
      mkdir $out/httpsgithub.comelectronelectronreleasesdownloadv${windowsElectronVersion}electron-v${windowsElectronVersion}-win32-x64.zip
      ln -s ${windowsElectron} $out/httpsgithub.comelectronelectronreleasesdownloadv${windowsElectronVersion}electron-v${windowsElectronVersion}-win32-x64.zip/electron-v${windowsElectronVersion}-win32-x64.zip
      ln -s ${checksums} $out/httpsgithub.comelectronelectronreleasesdownloadv${windowsElectronVersion}SHASUMS256.txt/SHASUMS256.txt
    '';
    electron-gyp = fetchurl {
      url = "https://www.electronjs.org/headers/v${windowsElectronVersion}/node-v${windowsElectronVersion}-headers.tar.gz";
      sha256 = "f8567511857ab62659505ba5158b6ad69afceb512105a3251d180fe47f44366c";
    };
    node-gyp = fetchurl {
      sha256 = "9abfc6dcd32bce3b9a978b8c23b8bb48a562c94919feba489f9bb9d4bbeeae66";
    };
    filter = name: type: let
      baseName = baseNameOf (toString name);
  
negative.code:   BUILD_NUMBER = "${toString buildNum}";
    NODE_ENV = "production";
    BUILDTYPE = "Release";
    extraBuildInputs = commonInputs ++ (if win64 then [ unzip wine64 ] else []);
    installPhase = let
      nukeAllRefs = ''
        # the webpack utils embed the original source paths into map files, so backtraces from the 1 massive index.js can be converted back to multiple files
  