Date: Tue, 3 Oct 2023 22:08:35 +0300
Subject: [PATCH 13/16] docs/README: update logo alt
---
.github/README.md | 2 +-
docs/default.nix | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/README.md b/.github/README.md
index 71c09f8..ca5bfb5 100644
--- a/.github/README.md
+++ b/.github/README.md
@@ -1,5 +1,5 @@
-
+
❄️ neovim-flake
diff --git a/docs/default.nix b/docs/default.nix
index 07274d8..211bf38 100644
--- a/docs/default.nix
+++ b/docs/default.nix
@@ -1,6 +1,6 @@
{
pkgs,
- lib,
+ lib ? import ../lib/stdlib-extended.nix pkgs.lib,
nmdSrc,
}: let
nmd = import nmdSrc {
From 2600fba72900d5493c9d030e428ef4806a3fc681 Mon Sep 17 00:00:00 2001
From: NotAShelf
Date: Wed, 4 Oct 2023 00:24:55 +0300
Subject: [PATCH 14/16] revert `8506a5e (flake: drop zig overlay)`
---
flake.lock | 76 +++++++++++++++++++++++++++++++++++++++++++++++++++---
flake.nix | 11 ++++----
2 files changed, 77 insertions(+), 10 deletions(-)
diff --git a/flake.lock b/flake.lock
index 2f2330a..f939c12 100644
--- a/flake.lock
+++ b/flake.lock
@@ -402,6 +402,22 @@
"type": "github"
}
},
+ "flake-compat": {
+ "flake": false,
+ "locked": {
+ "lastModified": 1673956053,
+ "narHash": "sha256-4gtG9iQuiKITOjNQQeQIpoIB6b16fm+504Ch3sNKLd8=",
+ "owner": "edolstra",
+ "repo": "flake-compat",
+ "rev": "35bb57c0c8d8b62bbfd284272c928ceb64ddbde9",
+ "type": "github"
+ },
+ "original": {
+ "owner": "edolstra",
+ "repo": "flake-compat",
+ "type": "github"
+ }
+ },
"flake-parts": {
"inputs": {
"nixpkgs-lib": "nixpkgs-lib"
@@ -438,6 +454,21 @@
"type": "github"
}
},
+ "flake-utils_2": {
+ "locked": {
+ "lastModified": 1659877975,
+ "narHash": "sha256-zllb8aq3YO3h8B/U0/J1WBgAL8EX5yWf5pMj3G0NAmc=",
+ "owner": "numtide",
+ "repo": "flake-utils",
+ "rev": "c0e246b9b83f637f4681389ecabcb2681b4f3af0",
+ "type": "github"
+ },
+ "original": {
+ "owner": "numtide",
+ "repo": "flake-utils",
+ "type": "github"
+ }
+ },
"flutter-tools": {
"flake": false,
"locked": {
@@ -773,11 +804,11 @@
},
"nixpkgs": {
"locked": {
- "lastModified": 1696261572,
- "narHash": "sha256-s8TtSYJ1LBpuITXjbPLUPyxzAKw35LhETcajJjCS5f0=",
+ "lastModified": 1690630721,
+ "narHash": "sha256-Y04onHyBQT4Erfr2fc82dbJTfXGYrf4V0ysLUYnPOP8=",
"owner": "nixos",
"repo": "nixpkgs",
- "rev": "0c7ffbc66e6d78c50c38e717ec91a2a14e0622fb",
+ "rev": "d2b52322f35597c62abf56de91b0236746b2a03d",
"type": "github"
},
"original": {
@@ -837,6 +868,22 @@
"type": "github"
}
},
+ "nixpkgs_4": {
+ "locked": {
+ "lastModified": 1689088367,
+ "narHash": "sha256-Y2tl2TlKCWEHrOeM9ivjCLlRAKH3qoPUE/emhZECU14=",
+ "owner": "NixOS",
+ "repo": "nixpkgs",
+ "rev": "5c9ddb86679c400d6b7360797b8a22167c2053f8",
+ "type": "github"
+ },
+ "original": {
+ "owner": "NixOS",
+ "ref": "release-23.05",
+ "repo": "nixpkgs",
+ "type": "github"
+ }
+ },
"nmd": {
"flake": false,
"locked": {
@@ -1467,7 +1514,8 @@
"vim-repeat": "vim-repeat",
"vim-startify": "vim-startify",
"vim-vsnip": "vim-vsnip",
- "which-key": "which-key"
+ "which-key": "which-key",
+ "zig": "zig"
}
},
"rust-overlay": {
@@ -1903,6 +1951,26 @@
"repo": "which-key.nvim",
"type": "github"
}
+ },
+ "zig": {
+ "inputs": {
+ "flake-compat": "flake-compat",
+ "flake-utils": "flake-utils_2",
+ "nixpkgs": "nixpkgs_4"
+ },
+ "locked": {
+ "lastModified": 1690718829,
+ "narHash": "sha256-GN19SrCqWxIJN+rnbv+pIkF/yynh6FG2y7jY6PZRiYw=",
+ "owner": "mitchellh",
+ "repo": "zig-overlay",
+ "rev": "92e485cc7887f57be4d2921ed077f467912b7d33",
+ "type": "github"
+ },
+ "original": {
+ "owner": "mitchellh",
+ "repo": "zig-overlay",
+ "type": "github"
+ }
}
},
"root": "root",
diff --git a/flake.nix b/flake.nix
index 149078a..48a280f 100644
--- a/flake.nix
+++ b/flake.nix
@@ -62,8 +62,13 @@
flake = false;
};
+ # TODO: get zig from the zig overlay instead of nixpkgs
+ zig.url = "github:mitchellh/zig-overlay";
+
# LSP plugins
nvim-lspconfig = {
+ # url = "github:neovim/nvim-lspconfig?ref=v0.1.3";
+ # Use master for nil_ls
url = "github:neovim/nvim-lspconfig";
flake = false;
};
@@ -162,7 +167,6 @@
# Langauge server (use master instead of nixpkgs)
rnix-lsp.url = "github:nix-community/rnix-lsp";
-
nil = {
url = "github:oxalica/nil";
inputs.nixpkgs.follows = "nixpkgs";
@@ -208,27 +212,22 @@
url = "github:hrsh7th/nvim-cmp";
flake = false;
};
-
cmp-buffer = {
url = "github:hrsh7th/cmp-buffer";
flake = false;
};
-
cmp-nvim-lsp = {
url = "github:hrsh7th/cmp-nvim-lsp";
flake = false;
};
-
cmp-vsnip = {
url = "github:hrsh7th/cmp-vsnip";
flake = false;
};
-
cmp-path = {
url = "github:hrsh7th/cmp-path";
flake = false;
};
-
cmp-treesitter = {
url = "github:ray-x/cmp-treesitter";
flake = false;
From 6ef59dccf72157fb44e00e78813ceea0579535b7 Mon Sep 17 00:00:00 2001
From: NotAShelf
Date: Sun, 8 Oct 2023 16:22:02 +0300
Subject: [PATCH 15/16] flake: bump nixpkgs
---
flake.lock | 6 +++---
flake.nix | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/flake.lock b/flake.lock
index bc72a53..5dcb49c 100644
--- a/flake.lock
+++ b/flake.lock
@@ -804,11 +804,11 @@
},
"nixpkgs": {
"locked": {
- "lastModified": 1690630721,
- "narHash": "sha256-Y04onHyBQT4Erfr2fc82dbJTfXGYrf4V0ysLUYnPOP8=",
+ "lastModified": 1696693680,
+ "narHash": "sha256-PH0HQTkqyj7DmdPKPwrrXwVURLBqzZs4nqnDw9q8mhg=",
"owner": "nixos",
"repo": "nixpkgs",
- "rev": "d2b52322f35597c62abf56de91b0236746b2a03d",
+ "rev": "945559664c1dc5836173ee12896ba421d9b37181",
"type": "github"
},
"original": {
diff --git a/flake.nix b/flake.nix
index e287dc1..aaba5cd 100644
--- a/flake.nix
+++ b/flake.nix
@@ -49,7 +49,7 @@
# Flake inputs
inputs = {
- nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
+ nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
flake-parts.url = "github:hercules-ci/flake-parts";
flake-utils.url = "github:numtide/flake-utils";
systems.url = "github:nix-systems/default";
From 137e34bf5f3626c053d7f8311006fc3bad9f7b8a Mon Sep 17 00:00:00 2001
From: Ching Pei Yang
Date: Mon, 9 Oct 2023 01:23:16 +0200
Subject: [PATCH 16/16] chore: migrate to nmd fork using mistune-3.0.1
nixpkgs upgraded mistune from v2 -> v3, breaking nmd.
The new fork is created to update nmd to use mistune v3
---
flake.nix | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/flake.nix b/flake.nix
index aaba5cd..27b5cb9 100644
--- a/flake.nix
+++ b/flake.nix
@@ -56,7 +56,7 @@
# For generating documentation website
nmd = {
- url = "sourcehut:~rycee/nmd";
+ url = "github:horriblename/nmd";
flake = false;
};