flake: simplify
This commit is contained in:
parent
fe810aa91b
commit
92c04f4bd8
1 changed files with 9 additions and 11 deletions
20
flake.nix
20
flake.nix
|
@ -11,17 +11,15 @@
|
|||
system: let
|
||||
inherit (inputs.nixpkgs) lib;
|
||||
pkgs = inputs.nixpkgs.legacyPackages.${system};
|
||||
runtimeDeps = with pkgs; [
|
||||
# mason / tree-sitter
|
||||
gcc
|
||||
cargo
|
||||
];
|
||||
in {
|
||||
packages.default = let
|
||||
runtimeDeps = with pkgs; [
|
||||
# mason / tree-sitter
|
||||
gcc
|
||||
cargo
|
||||
];
|
||||
in
|
||||
packages.default =
|
||||
pkgs.wrapNeovimUnstable pkgs.neovim-unwrapped
|
||||
(pkgs.neovimUtils.makeNeovimConfig
|
||||
{
|
||||
(pkgs.neovimUtils.makeNeovimConfig {
|
||||
customRC = ''
|
||||
set runtimepath^=${./.}
|
||||
source ${./.}/init.lua
|
||||
|
@ -32,8 +30,8 @@
|
|||
});
|
||||
|
||||
devShells.default = pkgs.mkShell {
|
||||
nativeBuildInputs = [
|
||||
pkgs.stylua
|
||||
nativeBuildInputs = with pkgs; [
|
||||
stylua
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue