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};
|
pkgs = inputs.nixpkgs.legacyPackages.${system};
|
||||||
in {
|
in {
|
||||||
packages.default = let
|
packages.default = let
|
||||||
runtimeDeps = with pkgs; [gcc];
|
runtimeDeps = with pkgs; [
|
||||||
in (
|
# mason / tree-sitter
|
||||||
|
gcc
|
||||||
|
cargo
|
||||||
|
];
|
||||||
|
in
|
||||||
pkgs.wrapNeovimUnstable pkgs.neovim-unwrapped
|
pkgs.wrapNeovimUnstable pkgs.neovim-unwrapped
|
||||||
(pkgs.neovimUtils.makeNeovimConfig
|
(pkgs.neovimUtils.makeNeovimConfig
|
||||||
{
|
{
|
||||||
|
@ -25,8 +29,7 @@
|
||||||
}
|
}
|
||||||
// {
|
// {
|
||||||
wrapperArgs = ["--prefix" "PATH" ":" "${lib.makeBinPath runtimeDeps}"];
|
wrapperArgs = ["--prefix" "PATH" ":" "${lib.makeBinPath runtimeDeps}"];
|
||||||
})
|
});
|
||||||
);
|
|
||||||
|
|
||||||
devShells.default = pkgs.mkShell {
|
devShells.default = pkgs.mkShell {
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
Loading…
Reference in a new issue