core/pkgs/by-name/cm/cmake/packages.nix

21 lines
347 B
Nix
Raw Permalink Normal View History

2024-05-02 00:46:19 +00:00
{ ... }:
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" ];
};
}