right package for neovim with allegro and no gcc with allegro
This commit is contained in:
parent
6dd500f280
commit
e84a8ae2ef
1 changed files with 5 additions and 5 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
{ lib, config, pkgs, ... }: {
|
{ lib, config, pkgs, variant, pkgs-unstable, ... }: {
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
entr
|
entr
|
||||||
trash-cli
|
trash-cli
|
||||||
|
|
@ -20,9 +20,8 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
viAlias = true;
|
viAlias = true;
|
||||||
defaultEditor = true;
|
defaultEditor = true;
|
||||||
extraPackages = with pkgs; [
|
extraPackages = (with pkgs; [
|
||||||
nodejs_22
|
nodejs_22
|
||||||
gcc
|
|
||||||
ocamlPackages.lsp
|
ocamlPackages.lsp
|
||||||
ocamlPackages.ocamlformat
|
ocamlPackages.ocamlformat
|
||||||
cargo
|
cargo
|
||||||
|
|
@ -33,8 +32,9 @@
|
||||||
ocamlPackages.ocaml-lsp
|
ocamlPackages.ocaml-lsp
|
||||||
pyright
|
pyright
|
||||||
ripgrep
|
ripgrep
|
||||||
];
|
]) ++ (if variant != "allegro" then [ pkgs.gcc ] else [] );
|
||||||
};
|
}
|
||||||
|
// lib.attrsets.optionalAttrs (variant == "allegro") { package = pkgs-unstable.neovim-unwrapped;};
|
||||||
|
|
||||||
xdg.mimeApps.defaultApplications = { "text/plain" = "nvim.desktop"; };
|
xdg.mimeApps.defaultApplications = { "text/plain" = "nvim.desktop"; };
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue