added necessary buildInputs
This commit is contained in:
parent
54b0942de6
commit
aae66c3b70
2 changed files with 6 additions and 3 deletions
|
@ -1,10 +1,10 @@
|
||||||
{ pkgs ? import <nixpkgs> { } }:
|
{ pkgs ? import <nixpkgs> { } }:
|
||||||
|
|
||||||
pkgs.rustPlatform.buildRustPackage {
|
pkgs.rustPlatform.buildRustPackage {
|
||||||
pname = "desktop-utils";
|
pname = "ewwbar";
|
||||||
version = "1.0.0";
|
version = "1.0.0";
|
||||||
|
|
||||||
src = builtins.path { path = ./.; name = "desktop-utils"; };
|
src = builtins.path { path = ./.; name = "ewwbar"; };
|
||||||
|
|
||||||
cargoLock = {
|
cargoLock = {
|
||||||
lockFile = ./Cargo.lock;
|
lockFile = ./Cargo.lock;
|
||||||
|
@ -16,6 +16,7 @@ pkgs.rustPlatform.buildRustPackage {
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
pkgs.libxkbcommon
|
pkgs.libxkbcommon
|
||||||
|
pkgs.eww
|
||||||
];
|
];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
@ -24,10 +25,11 @@ pkgs.rustPlatform.buildRustPackage {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with pkgs.lib; {
|
meta = with pkgs.lib; {
|
||||||
description = "utils for my desktop";
|
description = "Top bar using ElKowars Wacky Widgets";
|
||||||
homepage = " git.huwe.mooo.com/willifan/desktop-utils";
|
homepage = " git.huwe.mooo.com/willifan/desktop-utils";
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3;
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
|
mainProgram = "ewwbar";
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,6 +7,7 @@ pkgs.mkShell {
|
||||||
pkgs.cargo
|
pkgs.cargo
|
||||||
pkgs.pkg-config
|
pkgs.pkg-config
|
||||||
pkgs.libxkbcommon
|
pkgs.libxkbcommon
|
||||||
|
pkgs.eww
|
||||||
|
|
||||||
pkgs.rust-analyzer
|
pkgs.rust-analyzer
|
||||||
pkgs.clippy
|
pkgs.clippy
|
||||||
|
|
Loading…
Add table
Reference in a new issue