zammad: use fetchYarnDeps

This commit is contained in:
Robert Schütz 2023-09-05 21:44:24 -07:00
parent 05f82739df
commit 622fe95a9e
3 changed files with 6 additions and 22258 deletions

View File

@ -2,6 +2,7 @@
, lib , lib
, nixosTests , nixosTests
, fetchFromGitHub , fetchFromGitHub
, fetchYarnDeps
, applyPatches , applyPatches
, bundlerEnv , bundlerEnv
, defaultGemConfig , defaultGemConfig
@ -95,10 +96,13 @@ let
yarnEnv = yarn2nix-moretea.mkYarnPackage { yarnEnv = yarn2nix-moretea.mkYarnPackage {
pname = "${pname}-node-modules"; pname = "${pname}-node-modules";
inherit version src; inherit version src;
yarnLock = ./yarn.lock;
yarnNix = ./yarn.nix;
packageJSON = ./package.json; packageJSON = ./package.json;
offlineCache = fetchYarnDeps {
yarnLock = "${src}/yarn.lock";
hash = "sha256-HI4RR4/ll/zNBNtDCb8OvEsG/BMVYacM0CcYqbkNHEY=";
};
yarnPreBuild = '' yarnPreBuild = ''
mkdir -p deps/Zammad mkdir -p deps/Zammad
cp -r ${src}/.eslint-plugin-zammad deps/Zammad/.eslint-plugin-zammad cp -r ${src}/.eslint-plugin-zammad deps/Zammad/.eslint-plugin-zammad

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff