flake: add support for mason
This commit is contained in:
parent
f98e8cce7d
commit
0bdb35d845
1 changed files with 7 additions and 4 deletions
11
flake.nix
11
flake.nix
|
@ -13,8 +13,12 @@
|
|||
pkgs = inputs.nixpkgs.legacyPackages.${system};
|
||||
in {
|
||||
packages.default = let
|
||||
runtimeDeps = with pkgs; [gcc];
|
||||
in (
|
||||
runtimeDeps = with pkgs; [
|
||||
# mason / tree-sitter
|
||||
gcc
|
||||
cargo
|
||||
];
|
||||
in
|
||||
pkgs.wrapNeovimUnstable pkgs.neovim-unwrapped
|
||||
(pkgs.neovimUtils.makeNeovimConfig
|
||||
{
|
||||
|
@ -25,8 +29,7 @@
|
|||
}
|
||||
// {
|
||||
wrapperArgs = ["--prefix" "PATH" ":" "${lib.makeBinPath runtimeDeps}"];
|
||||
})
|
||||
);
|
||||
});
|
||||
|
||||
devShells.default = pkgs.mkShell {
|
||||
nativeBuildInputs = [
|
||||
|
|
Loading…
Reference in a new issue