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
|
||||
, fetchYarnDeps
|
||||
, yarn
|
||||
, fixup_yarn_lock
|
||||
, prefetch-yarn-deps
|
||||
, nodePackages
|
||||
, nodejs_18
|
||||
, jq
|
||||
|
@ -215,6 +215,7 @@ let
|
|||
nodejs_18
|
||||
jq
|
||||
moreutils
|
||||
prefetch-yarn-deps
|
||||
];
|
||||
|
||||
outputs = [ "out" "javascripts" ];
|
||||
|
@ -252,7 +253,7 @@ let
|
|||
yarn config --offline set yarn-offline-mirror $yarnOfflineCache
|
||||
|
||||
# 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
|
||||
|
||||
|
|
Loading…
Reference in a new issue