flake.nix: make runnable app
This commit was merged in pull request #2.
This commit is contained in:
@@ -18,6 +18,14 @@
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
in f system pkgs);
|
||||
in {
|
||||
apps = forAllSystems (system: pkgs: {
|
||||
default = {
|
||||
type = "app";
|
||||
program = "${lib.getExe self.packages.${system}.default}";
|
||||
meta.description = "Run uash as a normal executable";
|
||||
};
|
||||
});
|
||||
|
||||
devShells = forAllSystems (system: pkgs: {
|
||||
default = pkgs.mkShell {
|
||||
buildInputs = with pkgs; [
|
||||
|
||||
Reference in New Issue
Block a user