Serenity/modules/features/terminal/cdevenv.nix
2026-11-14 17:54:25 +10:00

28 lines
700 B
Nix

{ inputs, ... }:
{
flake.nixosModules.cdevenv =
{ pkgs, user-parts, ... }:
{
imports = [ inputs.home-manager.nixosModules.home-manager ];
# onig_sys links against the system Oniguruma library.
nixpkgs.overlays = [
(final: prev: {
neocmakelsp = prev.neocmakelsp.overrideAttrs (old: {
nativeBuildInputs = (old.nativeBuildInputs or [ ]) ++ [ final.pkg-config ];
buildInputs = (old.buildInputs or [ ]) ++ [ final.oniguruma ];
});
})
];
environment.systemPackages = with pkgs; [
libclang
neocmakelsp
cmake
gcc
gnumake
python3
uv
];
};
}