Some checks are pending
Code Quality / changes (push) Waiting to run
Code Quality / Lua Format Check (push) Blocked by required conditions
Code Quality / Lua Lint Check (push) Blocked by required conditions
Code Quality / Lua Type Check (push) Blocked by required conditions
Code Quality / Markdown Format Check (push) Blocked by required conditions
33 lines
709 B
Nix
33 lines
709 B
Nix
{
|
|
description = "midnight.nvim — a dark colorscheme for Neovim";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
|
systems.url = "github:nix-systems/default";
|
|
};
|
|
|
|
outputs =
|
|
{
|
|
nixpkgs,
|
|
systems,
|
|
...
|
|
}:
|
|
let
|
|
forEachSystem =
|
|
f: nixpkgs.lib.genAttrs (import systems) (system: f nixpkgs.legacyPackages.${system});
|
|
in
|
|
{
|
|
formatter = forEachSystem (pkgs: pkgs.nixfmt-tree);
|
|
|
|
devShells = forEachSystem (pkgs: {
|
|
default = pkgs.mkShell {
|
|
packages = [
|
|
pkgs.prettier
|
|
pkgs.stylua
|
|
pkgs.selene
|
|
pkgs.lua-language-server
|
|
];
|
|
};
|
|
});
|
|
};
|
|
}
|