anchor.diff:                  done
               done
           fi
  -        
  +
           # Run post install hook, if provided
           runHook postInstall
         '';
  
positive.code:               "version": "${version}"
            }
            EOF
            
            # Patch the shebangs of the bundled modules to prevent them from
            # calling executables outside the Nix store as much as possible
            patchShebangs .
            
            export HOME=$TMPDIR
            npm --registry http://www.example.com --nodedir=${nodeSources} ${npmFlags} ${stdenv.lib.optionalString production "--production"} rebuild
            
            ${stdenv.lib.optionalString (!dontNpmInstall) ''
              npm --registry http://www.example.com --nodedir=${nodeSources} ${npmFlags} ${stdenv.lib.optionalString production "--production"} install
            ''}
  
negative.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 != []) ''
  