From e41c423b01bb803c5745b8b296b2d898a3e5f798 Mon Sep 17 00:00:00 2001 From: Matthew Toohey Date: Wed, 25 May 2022 20:25:12 -0400 Subject: [PATCH] nixos/version: add trailing newline to os-release --- nixos/modules/misc/version.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/misc/version.nix b/nixos/modules/misc/version.nix index 010acdb72f67..da458a574840 100644 --- a/nixos/modules/misc/version.nix +++ b/nixos/modules/misc/version.nix @@ -13,7 +13,7 @@ let attrsToText = attrs: concatStringsSep "\n" ( mapAttrsToList (n: v: ''${n}=${escapeIfNeccessary (toString v)}'') attrs - ); + ) + "\n"; osReleaseContents = { NAME = "NixOS";