synapse-admin: use fetchYarnDeps

This commit is contained in:
Robert Schütz 2023-09-05 21:25:16 -07:00
parent 05f82739df
commit dd88525458
2 changed files with 6 additions and 11598 deletions

View File

@ -1,5 +1,6 @@
{ lib
, fetchFromGitHub
, fetchYarnDeps
, mkYarnPackage
, baseUrl ? null
}:
@ -14,10 +15,14 @@ mkYarnPackage rec {
sha256 = "sha256-kvQBzrCu1sgDccKhr0i2DgDmO5z6u6s+vw5KymttoK4=";
};
yarnNix = ./yarn.nix;
yarnLock = ./yarn.lock;
packageJSON = ./package.json;
offlineCache = fetchYarnDeps {
inherit yarnLock;
hash = "sha256-f0ilsF3lA+134qUaX96mdntjpR4gRlmtRIh/xEFhtXQ=";
};
NODE_ENV = "production";
${if baseUrl != null then "REACT_APP_SERVER" else null} = baseUrl;

File diff suppressed because it is too large Load Diff