forked from axeman/erpnext-nix
20 lines
425 B
Nix
20 lines
425 B
Nix
|
{ fetchFromGitHub
|
||
|
, fetchYarnDeps
|
||
|
, runCommand
|
||
|
, nodejs
|
||
|
, yarn
|
||
|
, path
|
||
|
, nodePackages
|
||
|
}:
|
||
|
let
|
||
|
src = import ../srcs/erpnext.nix {inherit fetchFromGitHub; };
|
||
|
offlineCache = fetchYarnDeps {
|
||
|
yarnLock = "${src}/yarn.lock";
|
||
|
sha256 = "sha256-Vho4BSbxcsVYExLvUaeoc3xIpbXoCUP/4jw4RwGnWGY=";
|
||
|
};
|
||
|
|
||
|
mkApp = import ./mk-app.nix {
|
||
|
inherit path runCommand nodejs yarn nodePackages;
|
||
|
};
|
||
|
in mkApp "erpnext" src offlineCache
|