about summary refs log tree commit diff stats
path: root/pkgs/by-name/ya
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--pkgs/by-name/ya/yambar-cpu/package.nix6
-rw-r--r--pkgs/by-name/ya/yambar-memory/package.nix6
2 files changed, 10 insertions, 2 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";
+  };
 }
diff --git a/pkgs/by-name/ya/yambar-memory/package.nix b/pkgs/by-name/ya/yambar-memory/package.nix
index a144dc4c..f3b0a50b 100644
--- a/pkgs/by-name/ya/yambar-memory/package.nix
+++ b/pkgs/by-name/ya/yambar-memory/package.nix
@@ -1,10 +1,14 @@
 {rustPlatform}:
 rustPlatform.buildRustPackage {
-  pname = "yambar_memory";
+  pname = "yambar-memory";
   version = "0.1.0";
 
   src = ./.;
   cargoLock = {
     lockFile = ./Cargo.lock;
   };
+
+  meta = {
+    mainProgram = "memory";
+  };
 }