The Qt GUI was unused: out of make-app-release since March, not built by the gate, and its app bundle could not start (no platform plugin). Every renderer and input change had to be made in it separately. kge is the ImGui frontend only. Removes QtFrontend/QtInputHandler/QtRenderer, the KTE_USE_QT option and its #if branches (Command.cc, GUITheme.h, main.cc), the Nix qt package and dev shell, the commented-out Qt release steps, the Qt frontend plan, and Qt mentions in AGENTS.md, DEVELOPER_GUIDE.md, REWRITE.md and code comments. Git history keeps the code. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
38 lines
1.1 KiB
Nix
38 lines
1.1 KiB
Nix
{
|
|
description = "kyle's text editor";
|
|
|
|
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
|
|
outputs = { self, nixpkgs, ... }:
|
|
let
|
|
eachSystem = nixpkgs.lib.genAttrs nixpkgs.lib.systems.flakeExposed;
|
|
pkgsFor = system: import nixpkgs { inherit system; };
|
|
in
|
|
{
|
|
packages = eachSystem (system: rec {
|
|
default = kte;
|
|
full = kge;
|
|
kte = (pkgsFor system).callPackage ./default.nix { graphical = false; };
|
|
kge = (pkgsFor system).callPackage ./default.nix { graphical = true; };
|
|
});
|
|
|
|
devShells = eachSystem (system:
|
|
let pkgs = pkgsFor system;
|
|
in {
|
|
default = pkgs.mkShell {
|
|
inputsFrom = [ self.packages.${system}.kge ];
|
|
packages = with pkgs; [ gdb valgrind ];
|
|
};
|
|
terminal = pkgs.mkShell {
|
|
inputsFrom = [ self.packages.${system}.kte ];
|
|
};
|
|
}
|
|
);
|
|
|
|
overlays.default = final: prev: {
|
|
kte = self.packages.${final.system}.kte;
|
|
kge = self.packages.${final.system}.kge;
|
|
};
|
|
};
|
|
}
|