mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-04-19 11:24:24 +02:00
fix(nix): Fix nix run
support
This commit is contained in:
parent
6fd69d657c
commit
7926bb07eb
2 changed files with 13 additions and 1 deletions
12
flake.nix
12
flake.nix
|
@ -57,6 +57,18 @@
|
|||
default = self.packages.${system}.ironbar;
|
||||
}
|
||||
);
|
||||
apps = genSystems (system: let
|
||||
pkgs = pkgsFor system;
|
||||
in {
|
||||
default = {
|
||||
type = "app";
|
||||
program = "${pkgs.ironbar}/bin/ironbar";
|
||||
};
|
||||
ironbar = {
|
||||
type = "app";
|
||||
program = "${pkgs.ironbar}/bin/ironbar";
|
||||
};
|
||||
});
|
||||
devShells = genSystems (system: let
|
||||
pkgs = pkgsFor system;
|
||||
rust = mkRustToolchain pkgs;
|
||||
|
|
|
@ -31,6 +31,6 @@ rustPlatform.buildRustPackage {
|
|||
description = "Customisable gtk-layer-shell wlroots/sway bar written in rust.";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.linux;
|
||||
mainProgram = "Hyprland";
|
||||
mainProgram = "ironbar";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue