anchor.diff:                else
                     return versionSpec;
             }
  -      
  +
             var packageObj = JSON.parse(fs.readFileSync('./package.json'));
  -      
  +
             /* Replace dependencies */
             if(packageObj.dependencies !== undefined) {
                 for(var dependency in packageObj.dependencies) {
  
positive.code:         #
          # The other responsibilities of NPM are kept -- version checks, build
          # steps, postprocessing etc.
          
          export HOME=$TMPDIR
          cd "${packageName}"
          runHook preRebuild
          npm --registry http://www.example.com --nodedir=${nodeSources} ${npmFlags} ${stdenv.lib.optionalString production "--production"} rebuild
          
          if [ "$dontNpmInstall" != "1" ]
          then
              npm --registry http://www.example.com --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" ]
          then
              ln -s $out/lib/node_modules/.bin $out/bin
          fi
          
          # Create symlinks to the deployed manual page folders, if applicable
          if [ -d "$out/lib/node_modules/${packageName}/man" ]
          then
  
negative.code:     in
      stdenv.lib.makeOverridable stdenv.mkDerivation {
        name = "node-shell-${name}-${version}";
  
        buildInputs = [ python nodejs ] ++ stdenv.lib.optional (stdenv.isLinux) utillinux ++ args.buildInputs or [];
        buildCommand = ''
          mkdir -p $out/bin
  