about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2023-11-22 00:59:44 +0100
committerYaya <github@uwu.is>2023-11-22 21:25:36 +0100
commitf16843cb3132944db30896992d319a693fa050c6 (patch)
tree1c00986c5ca68fb9c454ea4167fed1cbae5972fe
parentc7916a507b6657f82a42741790a86e66f7783480 (diff)
fetch-yarn-deps: fix missing cert when fetching packages
Found while updating element-web
-rw-r--r--pkgs/build-support/node/fetch-yarn-deps/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/build-support/node/fetch-yarn-deps/default.nix b/pkgs/build-support/node/fetch-yarn-deps/default.nix
index 06c82c8d8e2bb..e837f7457d176 100644
--- a/pkgs/build-support/node/fetch-yarn-deps/default.nix
+++ b/pkgs/build-support/node/fetch-yarn-deps/default.nix
@@ -64,6 +64,7 @@ in {
 
       nativeBuildInputs = [ prefetch-yarn-deps cacert ];
       GIT_SSL_CAINFO = "${cacert}/etc/ssl/certs/ca-bundle.crt";
+      NODE_EXTRA_CA_CERTS = "${cacert}/etc/ssl/certs/ca-bundle.crt";
 
       buildPhase = ''
         runHook preBuild