anchor.diff:      , ... }@args:
   
       let
  -      forceOfflineFlag = if bypassCache then "--offline" else "--registry http://www.example.com";
         extraArgs = removeAttrs args [ "name" "dependencies" "buildInputs" "dontStrip" "dontNpmInstall" "preRebuild" "unpackPhase" "buildPhase" ];
       in
       stdenv.mkDerivation ({
  
positive.code:         # Compose the package and all its dependencies
          source $compositionScriptPath
  
          # Pinpoint the versions of all dependencies to the ones that are actually being used
          echo "pinpointing versions of dependencies..."
          source $pinpointDependenciesScriptPath
  
          # Patch the shebangs of the bundled modules to prevent them from
          # calling executables outside the Nix store as much as possible
          patchShebangs .
  
          # Deploy the Node.js package by running npm install. Since the
          # dependencies have been provided already by ourselves, it should not
          # attempt to install them again, which is good, because we want to make
          # it Nix's responsibility. If it needs to install any dependencies
          # anyway (e.g. because the dependency parameters are
          # incomplete/incorrect), it fails.
          #
          # The other responsibilities of NPM are kept -- version checks, build
          # steps, postprocessing etc.
  
          export HOME=$TMPDIR
          cd "${packageName}"
          runHook preRebuild
  
          ${stdenv.lib.optionalString bypassCache ''
            ${stdenv.lib.optionalString reconstructLock ''
              if [ -f package-lock.json ]
              then
                  echo "WARNING: Reconstruct lock option enabled, but a lock file already exists!"
                  echo "This will most likely result in version mismatches! We will remove the lock file and regenerate it!"
                  rm package-lock.json
              else
                  echo "No package-lock.json file found, reconstructing..."
              fi
  
              node ${reconstructPackageLock}
            ''}
  
            node ${addIntegrityFieldsScript}
          ''}
  
          npm ${forceOfflineFlag} --nodedir=${nodeSources} ${npmFlags} ${stdenv.lib.optionalString production "--production"} rebuild
  
          if [ "$dontNpmInstall" != "1" ]
          then
              # NPM tries to download packages even when they already exist if npm-shrinkwrap is used.
              rm -f npm-shrinkwrap.json
  
              npm ${forceOfflineFlag} --nodedir=${nodeSources} ${npmFlags} ${stdenv.lib.optionalString production "--production"} install
          fi
  
          # Create symlink to the deployed executable folder, if applicable
          if [ -d "$out/lib/node_modules/.bin" ]
  
negative.code:     , ... }@args:
  
      let
        extraArgs = removeAttrs args [ "name" "dependencies" "buildInputs" ];
  
        nodeDependencies = stdenv.mkDerivation ({
  