[Backport release-26.05] yarn-berry-fetchers: Allow impure env vars (#531274)

This commit is contained in:
Florian Klink 2026-06-13 08:41:19 +00:00 committed by GitHub
commit 9fbd94bf44
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 0 deletions

View file

@ -47,6 +47,8 @@ stdenv.mkDerivation (
cacert
];
impureEnvVars = lib.fetchers.proxyImpureEnvVars;
buildPhase = ''
runHook preBuild

View file

@ -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