yarn-berry-fetchers: Allow impure env vars

This commit is contained in:
George Shammas 2026-05-21 07:34:46 -04:00
commit 255aa6d662
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