diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-05-25 18:15:49 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-05-25 18:15:49 +0200 |
commit | 174247072957baa86096e93e0cf58037d25e42ae (patch) | |
tree | 1d9a0f254cf9270317c36d85a7a039b0461d9725 /pkgs | |
parent | chore(version): v1.38.0 (diff) | |
download | nixos-config-174247072957baa86096e93e0cf58037d25e42ae.tar.gz nixos-config-174247072957baa86096e93e0cf58037d25e42ae.zip |
fix(pkgs/yambar-{cpu,memory}): Specify correct mainProgram
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/by-name/ya/yambar-cpu/package.nix | 6 | ||||
-rw-r--r-- | pkgs/by-name/ya/yambar-memory/package.nix | 6 |
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"; + }; } |