From 9d8a31068c20e7c1d9113f6bc72f5cc4d5ba9658 Mon Sep 17 00:00:00 2001 From: Daniel Phan <34669737+danielphan2003@users.noreply.github.com> Date: Tue, 2 Nov 2021 20:42:26 +0000 Subject: [PATCH] fix: remove white spaces and newlines for version --- flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 994ff28..5ede8e5 100644 --- a/flake.nix +++ b/flake.nix @@ -20,7 +20,7 @@ pname = "peerix"; python = "python39"; src = ./.; - version = builtins.readFile ./VERSION; + version = builtins.replaceStrings [ " " "\n" ] [ "" "" ] (builtins.readFile ./VERSION); requirements = builtins.readFile ./requirements.txt; propagatedBuildInputs = with pkgs; [ nix