mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 14:43:37 +00:00
element-desktop.keytar: pass yarnOfflineCache as environment variable
This commit is contained in:
parent
50730bedf5
commit
aecd4d8349
@ -33,7 +33,7 @@ in stdenv.mkDerivation rec {
|
|||||||
chmod u+w . ./yarn.lock
|
chmod u+w . ./yarn.lock
|
||||||
export HOME=$PWD/tmp
|
export HOME=$PWD/tmp
|
||||||
mkdir -p $HOME
|
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
|
${fixup_yarn_lock}/bin/fixup_yarn_lock yarn.lock
|
||||||
yarn install --offline --frozen-lockfile --ignore-platform --ignore-scripts --no-progress --non-interactive
|
yarn install --offline --frozen-lockfile --ignore-platform --ignore-scripts --no-progress --non-interactive
|
||||||
patchShebangs node_modules/
|
patchShebangs node_modules/
|
||||||
|
Loading…
Reference in New Issue
Block a user