yarn-berry-fetchers: Allow impure env vars (#522626)

This commit is contained in:
Florian Klink
2026-06-07 17:16:43 +00:00
committed by GitHub
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