core/pkgs/by-name/cm/cmake/packages.nix
2024-05-13 11:34:52 -04:00

21 lines
347 B
Nix

{ ... }:
res: pkgs: super:
with pkgs;
{
cmake = callPackage ./. { };
# can't use override - it triggers infinite recursion
cmakeMinimal = callPackage ./. {
isMinimalBuild = true;
};
cmakeCurses = cmake.override {
uiToolkits = [ "ncurses" ];
};
cmakeWithGui = cmake.override {
uiToolkits = [ "ncurses" "qt5" ];
};
}