``` (pkgs.ncurses.override { mouseSupport = true; }).overrideAttrs (o: { configureFlags = (o.configureFlags or []) ++ ["--enable-ext-colors"]; }) ```