fix(nix): Fix nix run support
This commit is contained in:
12
flake.nix
12
flake.nix
@@ -57,6 +57,18 @@
|
|||||||
default = self.packages.${system}.ironbar;
|
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
|
devShells = genSystems (system: let
|
||||||
pkgs = pkgsFor system;
|
pkgs = pkgsFor system;
|
||||||
rust = mkRustToolchain pkgs;
|
rust = mkRustToolchain pkgs;
|
||||||
|
|||||||
@@ -31,6 +31,6 @@ rustPlatform.buildRustPackage {
|
|||||||
description = "Customisable gtk-layer-shell wlroots/sway bar written in rust.";
|
description = "Customisable gtk-layer-shell wlroots/sway bar written in rust.";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
mainProgram = "Hyprland";
|
mainProgram = "ironbar";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user