Merge pull request #253576 from dotlambda/zammad-fetchYarnDeps

zammad: use fetchYarnDeps
This commit is contained in:
Weijia Wang
2023-09-06 15:41:29 +02:00
committed by GitHub
3 changed files with 6 additions and 22258 deletions
@@ -2,6 +2,7 @@
, lib
, nixosTests
, fetchFromGitHub
, fetchYarnDeps
, applyPatches
, bundlerEnv
, defaultGemConfig
@@ -95,10 +96,13 @@ let
yarnEnv = yarn2nix-moretea.mkYarnPackage {
pname = "${pname}-node-modules";
inherit version src;
yarnLock = ./yarn.lock;
yarnNix = ./yarn.nix;
packageJSON = ./package.json;
offlineCache = fetchYarnDeps {
yarnLock = "${src}/yarn.lock";
hash = "sha256-HI4RR4/ll/zNBNtDCb8OvEsG/BMVYacM0CcYqbkNHEY=";
};
yarnPreBuild = ''
mkdir -p deps/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