summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2019-03-20 18:39:11 +0100
committertv <tv@krebsco.de>2019-04-02 20:05:33 +0200
commitc528cf970e292790b414b4c1c8c8e9d7e73b2a71 (patch)
treed099f22cef82817e7cdc6d908773cc8d93f75182
parenta0470b456a26e903c28ccaa89d12b68c7287b0bc (diff)
writeNginxConfig: delete empty lines
(cherry picked from commit cf2c6f3dd35d2cb3adb23f5a4ab2ed4684b43e7d)
-rw-r--r--pkgs/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/default.nix b/pkgs/default.nix
index 9ae5098..d6127a1 100644
--- a/pkgs/default.nix
+++ b/pkgs/default.nix
@@ -403,6 +403,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
'';