Skip to content

Commit

Permalink
pnpm: fix build error "unsupported URL Type link"
Browse files Browse the repository at this point in the history
  • Loading branch information
srghma committed Jan 26, 2019
1 parent d491091 commit 7ea948f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkgs/development/node-packages/default-v10.nix
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@ nodePackages // {

pnpm = nodePackages.pnpm.override {
nativeBuildInputs = [ pkgs.makeWrapper ];

preRebuild = ''
sed 's/"link:/"file:/g' --in-place package.json
'';

postInstall = let
pnpmLibPath = stdenv.lib.makeBinPath [
nodejs.passthru.python
Expand Down

0 comments on commit 7ea948f

Please sign in to comment.