aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix
index 38b469fdb..5127ee2a3 100644
--- a/flake.nix
+++ b/flake.nix
@@ -11,8 +11,7 @@
officialRelease = false;
- version = strip (builtins.readFile ./.version) + versionSuffix;
- strip = nixpkgs.lib.removeSuffix "\n";
+ version = nixpkgs.lib.fileContents ./.version + versionSuffix;
versionSuffix =
if officialRelease
then ""