1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

Merge pull request #54633 from srghma/pnpm-fix

pnpm: fix build error "unsupported URL Type link"
This commit is contained in:
Vladyslav M 2019-01-26 22:56:06 +02:00 committed by GitHub
commit d359b5df54
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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