From aae66c3b70d103e9fc77323245c575eba3e60ee2 Mon Sep 17 00:00:00 2001 From: willifan Date: Tue, 14 Jan 2025 17:20:55 +0100 Subject: [PATCH] added necessary buildInputs --- default.nix | 8 +++++--- shell.nix | 1 + 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/default.nix b/default.nix index 53f4c4c..d01b345 100644 --- a/default.nix +++ b/default.nix @@ -1,10 +1,10 @@ { pkgs ? import { } }: pkgs.rustPlatform.buildRustPackage { - pname = "desktop-utils"; + pname = "ewwbar"; version = "1.0.0"; - src = builtins.path { path = ./.; name = "desktop-utils"; }; + src = builtins.path { path = ./.; name = "ewwbar"; }; cargoLock = { lockFile = ./Cargo.lock; @@ -16,6 +16,7 @@ pkgs.rustPlatform.buildRustPackage { buildInputs = [ pkgs.libxkbcommon + pkgs.eww ]; postInstall = '' @@ -24,10 +25,11 @@ pkgs.rustPlatform.buildRustPackage { ''; meta = with pkgs.lib; { - description = "utils for my desktop"; + description = "Top bar using ElKowars Wacky Widgets"; homepage = " git.huwe.mooo.com/willifan/desktop-utils"; license = licenses.gpl3; platforms = platforms.unix; + mainProgram = "ewwbar"; }; } diff --git a/shell.nix b/shell.nix index 524c7da..8b1c54e 100644 --- a/shell.nix +++ b/shell.nix @@ -7,6 +7,7 @@ pkgs.mkShell { pkgs.cargo pkgs.pkg-config pkgs.libxkbcommon + pkgs.eww pkgs.rust-analyzer pkgs.clippy