|
|
@ -4,6 +4,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
let
|
|
|
|
let
|
|
|
|
buildNode2nixPackage = (import ./build/node2nix-package.nix) args;
|
|
|
|
buildNode2nixPackage = (import ./build/node2nix-package.nix) args;
|
|
|
|
|
|
|
|
errorReporter = (import ./node-error-reporter) args;
|
|
|
|
in let
|
|
|
|
in let
|
|
|
|
serviceName = "node-${name}";
|
|
|
|
serviceName = "node-${name}";
|
|
|
|
cfg = config.services."${serviceName}";
|
|
|
|
cfg = config.services."${serviceName}";
|
|
|
@ -13,7 +14,6 @@
|
|
|
|
inherit src setupCommands;
|
|
|
|
inherit src setupCommands;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
errorReporter = (import ./node-error-reporter) args;
|
|
|
|
|
|
|
|
errorReporterModule = if hasErrorReporting then (errorReporter {
|
|
|
|
errorReporterModule = if hasErrorReporting then (errorReporter {
|
|
|
|
application = application;
|
|
|
|
application = application;
|
|
|
|
applicationName = name;
|
|
|
|
applicationName = name;
|
|
|
|