fix: remove white spaces and newlines for version

This commit is contained in:
Daniel Phan 2021-11-02 20:42:26 +00:00 committed by GitHub
parent db651641fa
commit 9d8a31068c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,7 +20,7 @@
pname = "peerix"; pname = "peerix";
python = "python39"; python = "python39";
src = ./.; src = ./.;
version = builtins.readFile ./VERSION; version = builtins.replaceStrings [ " " "\n" ] [ "" "" ] (builtins.readFile ./VERSION);
requirements = builtins.readFile ./requirements.txt; requirements = builtins.readFile ./requirements.txt;
propagatedBuildInputs = with pkgs; [ propagatedBuildInputs = with pkgs; [
nix nix