Move error-reporter to imports section

master
Sven Slootweg 7 years ago
parent a2a7b42ed8
commit faf382ddc9

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

Loading…
Cancel
Save