aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2019-03-20 18:39:11 +0100
committertv <tv@krebsco.de>2019-03-20 18:39:11 +0100
commitcf2c6f3dd35d2cb3adb23f5a4ab2ed4684b43e7d (patch)
treee65a1c5a2fc35fb45a940775d1d2a314227b64d7
parentd856f05daff9cd726d1e798f1bb9a18eecbe2f50 (diff)
writeNginxConfig: delete empty linesHEADv3.3.1master
-rw-r--r--pkgs/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/default.nix b/pkgs/default.nix
index 21b837c..3748b07 100644
--- a/pkgs/default.nix
+++ b/pkgs/default.nix
@@ -401,6 +401,7 @@ pkgs: oldpkgs: {
} /* sh */ ''
cp "$textPath" $out
${pkgs.nginx-config-formatter}/bin/nginxfmt $out
+ ${pkgs.gnused}/bin/sed -i '/^$/d' $out
${pkgs.gixy}/bin/gixy $out
'';