From faf382ddc964336cce0ce250bdb8f1d0c7c1a7c7 Mon Sep 17 00:00:00 2001 From: Sven Slootweg Date: Thu, 13 Jul 2017 11:54:17 +0200 Subject: [PATCH] Move error-reporter to imports section --- lib/node-application.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node-application.nix b/lib/node-application.nix index 37a4d11..1819551 100644 --- a/lib/node-application.nix +++ b/lib/node-application.nix @@ -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;