Update deps
This commit is contained in:
parent
b616d0a362
commit
300ae4a691
7 changed files with 61 additions and 120 deletions
30
flake.lock
30
flake.lock
|
@ -27,11 +27,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1666614183,
|
"lastModified": 1666776005,
|
||||||
"narHash": "sha256-R5+bCtUquwSfQmRBbCYc6FT6xtCaAebh0KE187e8458=",
|
"narHash": "sha256-HwSMF19PpczfqNHKcFsA6cF4PVbG00uUSdbq6q3jB5o=",
|
||||||
"owner": "lnl7",
|
"owner": "lnl7",
|
||||||
"repo": "nix-darwin",
|
"repo": "nix-darwin",
|
||||||
"rev": "0f90e1c34caedd0bf765ebe47b92dd1ceffafcc8",
|
"rev": "f6648ca0698d1611d7eadfa72b122252b833f86c",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -102,11 +102,11 @@
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"dir": "contrib",
|
"dir": "contrib",
|
||||||
"lastModified": 1666596900,
|
"lastModified": 1666766306,
|
||||||
"narHash": "sha256-GlJohATL4oqniHmyHqDUKo/lECNN/BULDleEJ0Q2ap4=",
|
"narHash": "sha256-ttI5NiFPTBSDlHIHn4fiE0KUk890OTAgPbFKi7YpF6Y=",
|
||||||
"owner": "neovim",
|
"owner": "neovim",
|
||||||
"repo": "neovim",
|
"repo": "neovim",
|
||||||
"rev": "29fe3348ba126a334d7e6f06a66f14ec3110d02f",
|
"rev": "c00844aee4d9b607073ff123dfe2e872c9b84954",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -125,11 +125,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1666600129,
|
"lastModified": 1666772293,
|
||||||
"narHash": "sha256-DD9ve1v7Dy6vxYbGnmrNAD2cNBuNFm8smaOGbRW/MWc=",
|
"narHash": "sha256-bgTIZmIgGoK/fesiH8gnvi7hKralzRwOrxl5dfb9dlo=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "neovim-nightly-overlay",
|
"repo": "neovim-nightly-overlay",
|
||||||
"rev": "877513fb7d17c5f62889556c3f5ff742b6221d20",
|
"rev": "d63dbcb723e31773ee7523498c8bc46170603a69",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -145,11 +145,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1666601049,
|
"lastModified": 1666773053,
|
||||||
"narHash": "sha256-/uf+Ma6R3j1Ghsp+jP83fz3NQXnK9bszaZrRyuK9NOo=",
|
"narHash": "sha256-uo3ypM3bRpweZRo976GomlWKTcj+YzyuuUGIAZfC7gw=",
|
||||||
"owner": "nifoc",
|
"owner": "nifoc",
|
||||||
"repo": "nix-overlay",
|
"repo": "nix-overlay",
|
||||||
"rev": "7ce298ad6dd4f5194adaffc5125d54a629883b42",
|
"rev": "211f970da992d86094794ba3f0597fd290fdf898",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -160,11 +160,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1666659249,
|
"lastModified": 1666753130,
|
||||||
"narHash": "sha256-Qbyj7ya2ZTL5Vt5ONMUwgq/shNSqZVbxDInQbmDO5iw=",
|
"narHash": "sha256-Wff1dGPFSneXJLI2c0kkdWTgxnQ416KE6X4KnFkgPYQ=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "d4f8e53720b554b6dac71c7ec62b3b51158905f9",
|
"rev": "f540aeda6f677354f1e7144ab04352f61aaa0118",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -24,7 +24,12 @@
|
||||||
:--column
|
:--column
|
||||||
:--smart-case
|
:--smart-case
|
||||||
:--trim]}
|
:--trim]}
|
||||||
:extensions {:ui-select [(themes.get_dropdown {})]}})
|
:extensions {:ui-select [(themes.get_dropdown {})]
|
||||||
|
:fzf {:fuzzy true
|
||||||
|
:override_generic_sorter true
|
||||||
|
:override_file_sorter true
|
||||||
|
:case_mode :smart_case}}})
|
||||||
|
(telescope.load_extension :fzf)
|
||||||
(telescope.load_extension :ui-select)
|
(telescope.load_extension :ui-select)
|
||||||
(telescope.load_extension :toggleterm)
|
(telescope.load_extension :toggleterm)
|
||||||
(telescope.load_extension :yank_history)
|
(telescope.load_extension :yank_history)
|
||||||
|
|
|
@ -152,7 +152,7 @@ in
|
||||||
type = "fennel";
|
type = "fennel";
|
||||||
}
|
}
|
||||||
|
|
||||||
telescope-zf-native-nvim
|
telescope-fzf-native-nvim
|
||||||
|
|
||||||
{
|
{
|
||||||
plugin = project-nvim;
|
plugin = project-nvim;
|
||||||
|
|
|
@ -47,12 +47,12 @@ rec {
|
||||||
};
|
};
|
||||||
nvim-osc52 = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
nvim-osc52 = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
||||||
pname = "nvim-osc52";
|
pname = "nvim-osc52";
|
||||||
version = "2022-09-29";
|
version = "2022-10-25";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "ojroques";
|
owner = "ojroques";
|
||||||
repo = "nvim-osc52";
|
repo = "nvim-osc52";
|
||||||
rev = "87069dc586d835b70360d4771de53adb9b4aaff7";
|
rev = "75b9b86807448db9ade7715a86171d31da6348ff";
|
||||||
sha256 = "03mmfb5cyh7pm1kbl5ws1ch7r47qbj4dqiyh5dwf3c70a38ry194";
|
sha256 = "0vsnsp2ab0ma0pb53lr6pyp8330f0axcnbkzr9cfckv45fqvd5b2";
|
||||||
fetchSubmodules = false;
|
fetchSubmodules = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -113,12 +113,12 @@ rec {
|
||||||
};
|
};
|
||||||
nvim-treesitter = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
nvim-treesitter = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
||||||
pname = "nvim-treesitter";
|
pname = "nvim-treesitter";
|
||||||
version = "2022-10-25";
|
version = "2022-10-26";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "nvim-treesitter";
|
owner = "nvim-treesitter";
|
||||||
repo = "nvim-treesitter";
|
repo = "nvim-treesitter";
|
||||||
rev = "0eff7beaf8cf7e631a7e8edc0d363e0b0a8f6f1d";
|
rev = "2f5be4585ef18ac720810c08f678b4d55e2d5658";
|
||||||
sha256 = "0n6cljmljhzdbw8pfkppnkaxzim80d956py34gcm7rapm1h0zj4i";
|
sha256 = "060iq0ckn9ssiwbnw6hicw5cg6jahck5vbkbi35gxlgg3s5gy7mx";
|
||||||
fetchSubmodules = false;
|
fetchSubmodules = false;
|
||||||
};
|
};
|
||||||
passthru.withPlugins =
|
passthru.withPlugins =
|
||||||
|
@ -157,31 +157,27 @@ rec {
|
||||||
};
|
};
|
||||||
telescope-nvim = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
telescope-nvim = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
||||||
pname = "telescope.nvim";
|
pname = "telescope.nvim";
|
||||||
version = "2022-10-24";
|
version = "2022-10-25";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "nvim-telescope";
|
owner = "nvim-telescope";
|
||||||
repo = "telescope.nvim";
|
repo = "telescope.nvim";
|
||||||
rev = "5c7db4055d89f9057d562f4f8b9d03189c9f9786";
|
rev = "9cf465894a61b840f6ab9e757223d21b8005cff9";
|
||||||
sha256 = "1mc80m83jfnjwnaxnsl3d96xm03wycal58xwm19fcgs8nsdn3010";
|
sha256 = "1kxq72ps7dqjbfpdm091kqzr5jz4gy8ahbfbasm2j52ri7ypbnkn";
|
||||||
fetchSubmodules = false;
|
fetchSubmodules = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
telescope-zf-native-nvim = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
telescope-fzf-native-nvim = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
||||||
pname = "telescope-zf-native.nvim";
|
pname = "telescope-fzf-native.nvim";
|
||||||
version = "2022-10-05";
|
version = "2022-09-06";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "natecraddock";
|
owner = "nvim-telescope";
|
||||||
repo = "telescope-zf-native.nvim";
|
repo = "telescope-fzf-native.nvim";
|
||||||
rev = "0a8408059c6d443a33595cc021677163ed81d2c5";
|
rev = "65c0ee3d4bb9cb696e262bca1ea5e9af3938fc90";
|
||||||
sha256 = "1yipix2v6rxj249p80c36y3rc9k1wrlv509nd38ip2p3r6ifwz4n";
|
sha256 = "0nyvhlalrgg6n793lp3yrxgszv5j0ln9sjbh45pxxg0wn15jxm45";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = false;
|
||||||
};
|
};
|
||||||
nativeBuildInputs = with pkgs; [ just zig ];
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
just clean
|
make
|
||||||
XDG_CACHE_HOME=./xdg_cache just build
|
|
||||||
mv lib/libzf.so lib/libzf-osx-arm64.so
|
|
||||||
rm -rf ./xdg_cache
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
project-nvim = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
project-nvim = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
||||||
|
@ -230,12 +226,12 @@ rec {
|
||||||
};
|
};
|
||||||
nvim-lspconfig = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
nvim-lspconfig = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
||||||
pname = "nvim-lspconfig";
|
pname = "nvim-lspconfig";
|
||||||
version = "2022-10-25";
|
version = "2022-10-26";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "neovim";
|
owner = "neovim";
|
||||||
repo = "nvim-lspconfig";
|
repo = "nvim-lspconfig";
|
||||||
rev = "a035031fd6f6bcb5b433fe0f32d755ba7485406d";
|
rev = "2315a397fd5057e3a74a09a240f606af28447ebf";
|
||||||
sha256 = "1g7gwbwjdwk6x4crkc66331fmi27lbns49hvjmvyvn9b4rq0c1fn";
|
sha256 = "1rqy3lcxy8lxi041g7s5j0nvmbch6s43r6agnwspqm1ag1i7pin0";
|
||||||
fetchSubmodules = false;
|
fetchSubmodules = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -252,12 +248,12 @@ rec {
|
||||||
};
|
};
|
||||||
nvim-navic = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
nvim-navic = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
||||||
pname = "nvim-navic";
|
pname = "nvim-navic";
|
||||||
version = "2022-09-30";
|
version = "2022-10-25";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "SmiteshP";
|
owner = "SmiteshP";
|
||||||
repo = "nvim-navic";
|
repo = "nvim-navic";
|
||||||
rev = "132b273773768b36e9ecab2138b82234a9faf5ed";
|
rev = "9f7f0b797096ee852106c4fd47b6b13d0ebb364e";
|
||||||
sha256 = "1qs02qkjzq0lczc4sdds0p2rrr1klnmw7n7n3hy6i4sr6gycfg1v";
|
sha256 = "1zqbs170ppmjh3njsg24z5ic965ga0plrbjam88qys1ap0gdph2v";
|
||||||
fetchSubmodules = false;
|
fetchSubmodules = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -274,12 +270,12 @@ rec {
|
||||||
};
|
};
|
||||||
nvim-lint = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
nvim-lint = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
||||||
pname = "nvim-lint";
|
pname = "nvim-lint";
|
||||||
version = "2022-10-16";
|
version = "2022-10-26";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "mfussenegger";
|
owner = "mfussenegger";
|
||||||
repo = "nvim-lint";
|
repo = "nvim-lint";
|
||||||
rev = "2ad83cad2aba5ac6071d75a32f0792e9e8af1ec5";
|
rev = "844bb7828557052da765b9b0fa5ab0574eb7187a";
|
||||||
sha256 = "0am81inrd6hn3a58afp0mrqsz9v31nxm93dzq0mc4086qfnhvlqg";
|
sha256 = "13aczdfdxx7r0sambfhh8awa2azskxlyaks6vsy2jhii8698vhw9";
|
||||||
fetchSubmodules = false;
|
fetchSubmodules = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -307,12 +303,12 @@ rec {
|
||||||
};
|
};
|
||||||
friendly-snippets = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
friendly-snippets = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
||||||
pname = "friendly-snippets";
|
pname = "friendly-snippets";
|
||||||
version = "2022-10-22";
|
version = "2022-10-26";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "rafamadriz";
|
owner = "rafamadriz";
|
||||||
repo = "friendly-snippets";
|
repo = "friendly-snippets";
|
||||||
rev = "b838c362477a4af8a0251518a6865e518f4ed6eb";
|
rev = "bb318c455e4e8946d64c79753f5bb07f7c27d711";
|
||||||
sha256 = "166p9hqfx9rhj9g199adb0nmqjx1kq0y5xdpq784jslyfaj3xngv";
|
sha256 = "1fixlb14s38d5wy5a92yraj572q25gxxc9rgpjbq288q96pshnmi";
|
||||||
fetchSubmodules = false;
|
fetchSubmodules = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -494,12 +490,12 @@ rec {
|
||||||
};
|
};
|
||||||
heirline-nvim = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
heirline-nvim = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
||||||
pname = "heirline.nvim";
|
pname = "heirline.nvim";
|
||||||
version = "2022-10-24";
|
version = "2022-10-26";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "rebelot";
|
owner = "rebelot";
|
||||||
repo = "heirline.nvim";
|
repo = "heirline.nvim";
|
||||||
rev = "f46554a0a4ea096867deb6ef8877cccbf5b7261b";
|
rev = "d72ec3d3ca8406dffd7da72ae6d355e94d8c59fe";
|
||||||
sha256 = "0v78limimn5ycybcibm4fkna4ad7aqnvczvcmc9igak7d5y4wsxr";
|
sha256 = "19r672f2wcnbqr9in8k6wa2zrwaq7l91f9vlbxkgj8cbm9z31la0";
|
||||||
fetchSubmodules = false;
|
fetchSubmodules = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -549,12 +545,12 @@ rec {
|
||||||
};
|
};
|
||||||
gitsigns-nvim = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
gitsigns-nvim = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
||||||
pname = "gitsigns.nvim";
|
pname = "gitsigns.nvim";
|
||||||
version = "2022-10-21";
|
version = "2022-10-25";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "lewis6991";
|
owner = "lewis6991";
|
||||||
repo = "gitsigns.nvim";
|
repo = "gitsigns.nvim";
|
||||||
rev = "21ab05c2629ef613b1c3452d12469f936855648b";
|
rev = "851cd32caaea84f303c4fdf51d72dfa5fcd795bb";
|
||||||
sha256 = "0c7m07h56fk273780awlrx234dlxzbb75a1i2x65i1hvysjw67bz";
|
sha256 = "0d5fbxljh2mqsjjmzbk4hgwgq9cyl7vrqplsqvxzrhs58c41f9m5";
|
||||||
fetchSubmodules = false;
|
fetchSubmodules = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -23,16 +23,9 @@
|
||||||
|
|
||||||
# Telescope
|
# Telescope
|
||||||
- src: nvim-telescope/telescope.nvim
|
- src: nvim-telescope/telescope.nvim
|
||||||
- src: natecraddock/telescope-zf-native.nvim
|
- src: nvim-telescope/telescope-fzf-native.nvim
|
||||||
fetchSubmodules: true
|
|
||||||
nativeBuildInputs:
|
|
||||||
- just
|
|
||||||
- zig
|
|
||||||
buildPhase: |-
|
buildPhase: |-
|
||||||
just clean
|
make
|
||||||
XDG_CACHE_HOME=./xdg_cache just build
|
|
||||||
mv lib/libzf.so lib/libzf-osx-arm64.so
|
|
||||||
rm -rf ./xdg_cache
|
|
||||||
- src: ahmedkhalf/project.nvim
|
- src: ahmedkhalf/project.nvim
|
||||||
- src: folke/todo-comments.nvim
|
- src: folke/todo-comments.nvim
|
||||||
- src: nvim-telescope/telescope-ui-select.nvim
|
- src: nvim-telescope/telescope-ui-select.nvim
|
||||||
|
|
|
@ -1,51 +0,0 @@
|
||||||
From f34b284d3f2b6cdeb08f247c16d5b7a69cb45061 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Pavel Shirshov <pshirshov@eml.cc>
|
|
||||||
Date: Tue, 25 Oct 2022 22:01:55 +0100
|
|
||||||
Subject: [PATCH] fixes #559, #485: workaround for broken fontrestore on
|
|
||||||
Ventura
|
|
||||||
|
|
||||||
---
|
|
||||||
modules/fonts/default.nix | 30 ++++++++++++++++--------------
|
|
||||||
1 file changed, 16 insertions(+), 14 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/modules/fonts/default.nix b/modules/fonts/default.nix
|
|
||||||
index 14f9529f..44ea58bb 100644
|
|
||||||
--- a/modules/fonts/default.nix
|
|
||||||
+++ b/modules/fonts/default.nix
|
|
||||||
@@ -58,20 +58,22 @@ in
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
- fontrestore default -n 2>&1 | while read -r f; do
|
|
||||||
- case $f in
|
|
||||||
- /Library/Fonts/*)
|
|
||||||
- font=''${f##*/}
|
|
||||||
- if [ ! -e "$systemConfig/Library/Fonts/$font" ]; then
|
|
||||||
- echo "removing font $font..." >&2
|
|
||||||
- rm "/Library/Fonts/$font"
|
|
||||||
- fi
|
|
||||||
- ;;
|
|
||||||
- /*)
|
|
||||||
- # ignoring unexpected fonts
|
|
||||||
- ;;
|
|
||||||
- esac
|
|
||||||
- done
|
|
||||||
+ if [[ "`sw_vers -productVersion`" < "13.0" ]]; then
|
|
||||||
+ fontrestore default -n 2>&1 | while read -r f; do
|
|
||||||
+ case $f in
|
|
||||||
+ /Library/Fonts/*)
|
|
||||||
+ font=''${f##*/}
|
|
||||||
+ if [ ! -e "$systemConfig/Library/Fonts/$font" ]; then
|
|
||||||
+ echo "removing font $font..." >&2
|
|
||||||
+ rm "/Library/Fonts/$font"
|
|
||||||
+ fi
|
|
||||||
+ ;;
|
|
||||||
+ /*)
|
|
||||||
+ # ignoring unexpected fonts
|
|
||||||
+ ;;
|
|
||||||
+ esac
|
|
||||||
+ done
|
|
||||||
+ fi
|
|
||||||
'';
|
|
||||||
|
|
||||||
};
|
|
|
@ -8,9 +8,7 @@ let
|
||||||
src = nixpkgs.legacyPackages.${default-system}.applyPatches {
|
src = nixpkgs.legacyPackages.${default-system}.applyPatches {
|
||||||
name = "nix-darwin";
|
name = "nix-darwin";
|
||||||
src = darwin;
|
src = darwin;
|
||||||
patches = [
|
patches = [ ];
|
||||||
../../patches/darwin/ventura-fontrestore.patch
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
nixpkgs.lib.fix (self: (import "${src}/flake.nix").outputs { inherit self nixpkgs; });
|
nixpkgs.lib.fix (self: (import "${src}/flake.nix").outputs { inherit self nixpkgs; });
|
||||||
|
|
Loading…
Reference in a new issue