core/pkgs/by-name/cm/cmake/packages.nix
2024-06-30 09:12:46 +01:00

19 lines
351 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"
];
};
}