core/pkgs/by-name/cm/cmake/packages.nix
2024-05-13 22:24:10 +01:00

14 lines
329 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" ]; };
}