Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 6d52e2681888
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: d3dd0875edb7
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Feb 23, 2019

  1. nodejs: Install npm manpages

    marsam committed Feb 23, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    B4dM4n Fabian Möller
    Copy the full SHA
    2fff57a View commit details

Commits on Mar 15, 2019

  1. Merge pull request #56226 from marsam/nodejs-install-npm-manpages

    nodejs: Install npm manpages
    matthewbauer authored Mar 15, 2019
    Copy the full SHA
    d3dd087 View commit details
Showing with 6 additions and 0 deletions.
  1. +6 −0 pkgs/development/web/nodejs/nodejs.nix
6 changes: 6 additions & 0 deletions pkgs/development/web/nodejs/nodejs.nix
Original file line number Diff line number Diff line change
@@ -97,6 +97,12 @@ in
${optionalString enableNpm ''
mkdir -p $out/share/bash-completion/completions/
$out/bin/npm completion > $out/share/bash-completion/completions/npm
for dir in "$out/lib/node_modules/npm/man/"*; do
mkdir -p $out/share/man/$(basename "$dir")
for page in "$dir"/*; do
ln -rs $page $out/share/man/$(basename "$dir")
done
done
''}
# install the missing headers for node-gyp