mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
zammad: use fetchYarnDeps
This commit is contained in:
parent
05f82739df
commit
622fe95a9e
@ -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
Loading…
Reference in New Issue
Block a user