element-desktop.keytar: pass yarnOfflineCache as environment variable

This commit is contained in:
Yureka 2022-09-26 17:11:38 +02:00
parent 50730bedf5
commit aecd4d8349

View file

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