anchor.diff:      ''
         DIR=$(pwd)
         cd $TMPDIR
  -      
  +
         unpackFile ${src}
  -      
  +
         # Make the base dir in which the target dependency resides first
         mkdir -p "$(dirname "$DIR/${packageName}")"
   
  
positive.code:         EOF
          chmod +x $out/bin/shell
        '';
        
        # Provide the dependencies in a development shell through the NODE_PATH environment variable
        inherit nodeDependencies;
        shellHook = stdenv.lib.optionalString (dependencies != []) ''
  
negative.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
  