summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix2
1 files changed, 1 insertions, 1 deletions
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;