mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
discourse: migrate to prefetch-yarn-deps
This commit is contained in:
parent
2de2b92916
commit
be146a1021
1 changed files with 3 additions and 2 deletions
|
@ -35,7 +35,7 @@
|
||||||
, icu
|
, icu
|
||||||
, fetchYarnDeps
|
, fetchYarnDeps
|
||||||
, yarn
|
, yarn
|
||||||
, fixup_yarn_lock
|
, prefetch-yarn-deps
|
||||||
, nodePackages
|
, nodePackages
|
||||||
, nodejs_18
|
, nodejs_18
|
||||||
, jq
|
, jq
|
||||||
|
@ -215,6 +215,7 @@ let
|
||||||
nodejs_18
|
nodejs_18
|
||||||
jq
|
jq
|
||||||
moreutils
|
moreutils
|
||||||
|
prefetch-yarn-deps
|
||||||
];
|
];
|
||||||
|
|
||||||
outputs = [ "out" "javascripts" ];
|
outputs = [ "out" "javascripts" ];
|
||||||
|
@ -252,7 +253,7 @@ let
|
||||||
yarn config --offline set yarn-offline-mirror $yarnOfflineCache
|
yarn config --offline set yarn-offline-mirror $yarnOfflineCache
|
||||||
|
|
||||||
# Fixup "resolved"-entries in yarn.lock to match our offline cache
|
# Fixup "resolved"-entries in yarn.lock to match our offline cache
|
||||||
${fixup_yarn_lock}/bin/fixup_yarn_lock app/assets/javascripts/yarn.lock
|
fixup-yarn-lock app/assets/javascripts/yarn.lock
|
||||||
|
|
||||||
export SSL_CERT_FILE=${cacert}/etc/ssl/certs/ca-bundle.crt
|
export SSL_CERT_FILE=${cacert}/etc/ssl/certs/ca-bundle.crt
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue