Merge pull request #54633 from srghma/pnpm-fix
pnpm: fix build error "unsupported URL Type link"
This commit is contained in:
commit
d359b5df54
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user