diff --git a/Cargo.toml b/Cargo.toml index c775583..72915a4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,6 +3,9 @@ name = "pamedia-rs" version = "0.1.0" edition = "2021" +[[bin]] +name = "pamedia" +path = "src/main.rs" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] diff --git a/flake.nix b/flake.nix index 1073ba7..3e70b8f 100644 --- a/flake.nix +++ b/flake.nix @@ -19,6 +19,7 @@ defaultPackage = naersk-lib.buildPackage { root = ./.; + pname = "pamedia"; buildInputs = with pkgs; [ libpulseaudio ]; nativeBuildInputs = with pkgs; [ pkg-config ]; };