From aecd4d8349b94f9bd5718c74a5b789f233f67326 Mon Sep 17 00:00:00 2001 From: Yureka Date: Mon, 26 Sep 2022 17:11:38 +0200 Subject: [PATCH] element-desktop.keytar: pass yarnOfflineCache as environment variable --- .../networking/instant-messengers/element/keytar/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/networking/instant-messengers/element/keytar/default.nix b/pkgs/applications/networking/instant-messengers/element/keytar/default.nix index 550d01695ca0..362d7a096bfb 100644 --- a/pkgs/applications/networking/instant-messengers/element/keytar/default.nix +++ b/pkgs/applications/networking/instant-messengers/element/keytar/default.nix @@ -33,7 +33,7 @@ in stdenv.mkDerivation rec { chmod u+w . ./yarn.lock export HOME=$PWD/tmp mkdir -p $HOME - yarn config --offline set yarn-offline-mirror ${yarnOfflineCache} + yarn config --offline set yarn-offline-mirror $yarnOfflineCache ${fixup_yarn_lock}/bin/fixup_yarn_lock yarn.lock yarn install --offline --frozen-lockfile --ignore-platform --ignore-scripts --no-progress --non-interactive patchShebangs node_modules/