mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-22 04:57:56 +03:00
pnpm: fix build error "unsupported URL Type link"
This commit is contained in:
parent
d4910911e2
commit
7ea948f912
@ -70,6 +70,11 @@ nodePackages // {
|
|||||||
|
|
||||||
pnpm = nodePackages.pnpm.override {
|
pnpm = nodePackages.pnpm.override {
|
||||||
nativeBuildInputs = [ pkgs.makeWrapper ];
|
nativeBuildInputs = [ pkgs.makeWrapper ];
|
||||||
|
|
||||||
|
preRebuild = ''
|
||||||
|
sed 's/"link:/"file:/g' --in-place package.json
|
||||||
|
'';
|
||||||
|
|
||||||
postInstall = let
|
postInstall = let
|
||||||
pnpmLibPath = stdenv.lib.makeBinPath [
|
pnpmLibPath = stdenv.lib.makeBinPath [
|
||||||
nodejs.passthru.python
|
nodejs.passthru.python
|
||||||
|
Loading…
Reference in New Issue
Block a user