pnpm: fix build error "unsupported URL Type link"

This commit is contained in:
Sergei Khoma 2019-01-26 19:26:17 +02:00
parent d4910911e2
commit 7ea948f912

View File

@ -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