From 128ec101e9f061b2778f296bdde2fa1649987228 Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Sun, 3 Aug 2025 15:56:44 +0300 Subject: Fixed newline in version string --- flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 10ea031..1c2b9c4 100644 --- a/flake.nix +++ b/flake.nix @@ -21,7 +21,7 @@ pkgs = import inputs.nixpkgs { inherit system overlays; }; - version = (builtins.readFile ./embeds/VERSION); + version = pkgs.lib.strings.removeSuffix "\n" (builtins.readFile ./embeds/VERSION); buildDate = toString self.lastModified; commit = if (builtins.hasAttr "rev" self) then (builtins.substring 0 7 self.rev) else "unknown"; # vendorHash = pkgs.lib.fakeHash; -- cgit v1.3.1