flake: drop zig overlay

This commit is contained in:
raf 2023-10-03 22:08:02 +03:00
commit 8506a5ecee
No known key found for this signature in database
GPG key ID: 02D1DD3FA08B6B29
5 changed files with 18 additions and 82 deletions

View file

@ -9,11 +9,9 @@
overlays = [
inputs.tidalcycles.overlays.default
inputs.self.overlays.default
inputs.zig.overlays.default
(_: _: {
rnix-lsp = inputs'.rnix-lsp.defaultPackage;
nil = inputs'.nil.packages.default;
zig = inputs'.zig.packages.default;
})
];
};

View file

@ -5,9 +5,7 @@
}: let
inherit (import ../configuration.nix inputs) neovimConfiguration mainConfig;
buildPkg = pkgs: modules:
(neovimConfiguration {inherit pkgs modules;})
.neovim;
buildPkg = pkgs: modules: (neovimConfiguration {inherit pkgs modules;}).neovim;
nixConfig = mainConfig false;
maximalConfig = mainConfig true;

View file

@ -1,5 +1,6 @@
{inputs, ...}: {
perSystem = {
self',
system,
config,
pkgs,
@ -18,6 +19,12 @@
docs-manpages = docs.manPages;
docs-json = docs.options.json;
docs-html-wrapped = pkgs.writeScriptBin "docs-html-wrapped" ''
#!${pkgs.stdenv.shell}
# use xdg-open to open the docs in the browser
${pkgs.xdg_utils}/bin/xdg-open ${docs.manual.html}
'';
# nvim configs
nix = config.legacyPackages.neovim-nix;
maximal = config.legacyPackages.neovim-maximal;