mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
yarn-berry-fetchers: Allow impure env vars
(cherry picked from commit 255aa6d662)
This commit is contained in:
parent
29b23f760e
commit
cc4981f995
2 changed files with 4 additions and 0 deletions
|
|
@ -47,6 +47,8 @@ stdenv.mkDerivation (
|
|||
cacert
|
||||
];
|
||||
|
||||
impureEnvVars = lib.fetchers.proxyImpureEnvVars;
|
||||
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
|
||||
|
|
|
|||
|
|
@ -28,6 +28,8 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
|||
env.YARN_ZIP_SUPPORTED_CACHE_VERSION = berryCacheVersion;
|
||||
env.LIBZIP_SYS_USE_PKG_CONFIG = 1;
|
||||
|
||||
impureEnvVars = lib.fetchers.proxyImpureEnvVars;
|
||||
|
||||
nativeBuildInputs = [
|
||||
rustPlatform.bindgenHook
|
||||
pkg-config
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue