19 lines
422 B
Nix
19 lines
422 B
Nix
|
{ fetchFromGitHub
|
||
|
, fetchYarnDeps
|
||
|
, runCommand
|
||
|
, nodejs
|
||
|
, yarn
|
||
|
, path
|
||
|
, nodePackages
|
||
|
}:
|
||
|
let
|
||
|
src = import ../srcs/frappe.nix {inherit fetchFromGitHub; };
|
||
|
offlineCache = fetchYarnDeps {
|
||
|
yarnLock = "${src}/yarn.lock";
|
||
|
sha256 = "sha256-PBdMUz9gJIoQaqQYbdk+xnd8CyZPmdeyz/9WznCb4Ss=";
|
||
|
};
|
||
|
mkApp = import ./mk-app.nix {
|
||
|
inherit path runCommand nodejs yarn nodePackages;
|
||
|
};
|
||
|
in mkApp "frappe" src offlineCache
|