about summary refs log tree commit diff stats
path: root/pkgs/by-name/ya/yambar-cpu
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--pkgs/by-name/ya/yambar-cpu/package.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/by-name/ya/yambar-cpu/package.nix b/pkgs/by-name/ya/yambar-cpu/package.nix
index d054a970..90f1a558 100644
--- a/pkgs/by-name/ya/yambar-cpu/package.nix
+++ b/pkgs/by-name/ya/yambar-cpu/package.nix
@@ -1,10 +1,14 @@
 {rustPlatform}:
 rustPlatform.buildRustPackage {
-  pname = "yambar_cpu";
+  pname = "yambar-cpu";
   version = "0.1.0";
 
   src = ./.;
   cargoLock = {
     lockFile = ./Cargo.lock;
   };
+
+  meta = {
+    mainProgram = "cpu_usage";
+  };
 }