From 174247072957baa86096e93e0cf58037d25e42ae Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sat, 25 May 2024 18:15:49 +0200 Subject: fix(pkgs/yambar-{cpu,memory}): Specify correct mainProgram --- pkgs/by-name/ya/yambar-cpu/package.nix | 6 +++++- pkgs/by-name/ya/yambar-memory/package.nix | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) (limited to 'pkgs/by-name') 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"; + }; } -- cgit 1.4.1