diff options
author | Felix Buehler <account@buehler.rocks> | 2023-11-22 22:32:58 +0100 |
---|---|---|
committer | Felix Buehler <account@buehler.rocks> | 2024-03-25 21:14:50 +0100 |
commit | be146a1021a0e4b0e6a608fc2b5fb07f9888008c (patch) | |
tree | 939f7e91cfbd613ae0b4c392a294c6e4455eb986 | |
parent | 2de2b9291603a40fd7e08dc3f535515267916969 (diff) |
discourse: migrate to prefetch-yarn-deps
-rw-r--r-- | pkgs/servers/web-apps/discourse/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/servers/web-apps/discourse/default.nix b/pkgs/servers/web-apps/discourse/default.nix index b1e24720450e7..b72925c0ab2e3 100644 --- a/pkgs/servers/web-apps/discourse/default.nix +++ b/pkgs/servers/web-apps/discourse/default.nix @@ -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 |