diff --git a/flake.nix b/flake.nix index cffa3abb..dcc09ccf 100644 --- a/flake.nix +++ b/flake.nix @@ -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; }; }; } diff --git a/home/overlays/bazecor/default.nix b/home/overlays/bazecor/default.nix index 67388455..2080b30b 100644 --- a/home/overlays/bazecor/default.nix +++ b/home/overlays/bazecor/default.nix @@ -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 = '' @@ -48,6 +48,7 @@ let license = lib.licenses.gpl3Only; maintainers = with lib.maintainers; [ gvolpe ]; platforms = [ "x86_64-linux" ]; + mainProgram = "bazecor"; }; }; in