Skip to content

Commit

Permalink
bazecor: add meta.mainProgram
Browse files Browse the repository at this point in the history
  • Loading branch information
gvolpe committed Oct 31, 2023
1 parent 564c23d commit c752988
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
7 changes: 1 addition & 6 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,8 @@
nixosConfigurations =
import ./outputs/nixos-conf.nix { inherit inputs system pkgs extraArgs; };

apps.${system}.bazecor = {
type = "app";
program = "${pkgs.bazecor}/bin/bazecor";
};

packages.${system} = {
inherit (pkgs) metals metals-updater;
inherit (pkgs) bazecor metals metals-updater;
};
};
}
3 changes: 2 additions & 1 deletion home/overlays/bazecor/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ let

src = fetchurl {
url = "https://github.com/Dygmalab/Bazecor/releases/download/v.${version}/Bazecor-${version}-x64.AppImage";
hash ="sha256-Mz7T/AAlyfMzdfy/ZV4AEP3ClTolwr2pPzkSCPL66/w=";
hash = "sha256-Mz7T/AAlyfMzdfy/ZV4AEP3ClTolwr2pPzkSCPL66/w=";
};

postExtract = ''
Expand Down Expand Up @@ -48,6 +48,7 @@ let
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ gvolpe ];
platforms = [ "x86_64-linux" ];
mainProgram = "bazecor";
};
};
in
Expand Down

0 comments on commit c752988

Please sign in to comment.