pnpm.fetchDeps: add proxy support

When proxys are set in the enviroment respect them.
Such as https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/build-support/fetchurl/default.nix#L26
This commit is contained in:
Korny666 2024-09-04 14:24:43 +02:00 committed by GitHub
parent 12228ff175
commit 33b1b01e01
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -46,6 +46,8 @@
yq
];
impureEnvVars = lib.fetchers.proxyImpureEnvVars;
installPhase = ''
runHook preInstall