fix: use pname for mach-nix

suppress `trace: automatically detected pname: 'peerix'`
This commit is contained in:
Daniel Phan 2021-11-01 08:32:18 +07:00
parent a05a3e5900
commit db651641fa
No known key found for this signature in database
GPG key ID: A3556DCE587353FB
2 changed files with 2 additions and 2 deletions

View file

@ -1 +1 @@
0.0.1 0.0.1

View file

@ -17,7 +17,7 @@
} // flake-utils.lib.eachDefaultSystem (system: } // flake-utils.lib.eachDefaultSystem (system:
let pkgs = nixpkgs.legacyPackages.${system}; in { let pkgs = nixpkgs.legacyPackages.${system}; in {
packages.peerix = mach-nix.lib.${system}.buildPythonApplication { packages.peerix = mach-nix.lib.${system}.buildPythonApplication {
name = "peerix"; pname = "peerix";
python = "python39"; python = "python39";
src = ./.; src = ./.;
version = builtins.readFile ./VERSION; version = builtins.readFile ./VERSION;