update: nixpkgs to 24.11

This commit is contained in:
Jeremy Wall 2025-02-03 11:02:26 -05:00
parent 58c2363574
commit 3b4e01cc08
3 changed files with 32 additions and 22 deletions

View File

@ -867,11 +867,11 @@
}, },
"nixpkgs-darwin": { "nixpkgs-darwin": {
"locked": { "locked": {
"lastModified": 1717100421, "lastModified": 1735564410,
"narHash": "sha256-T+0Q1QHBDCoa4yBJrY7cG3vDEhqm4PwOLmNI6mzEwVc=", "narHash": "sha256-HB/FA0+1gpSs8+/boEavrGJH+Eq08/R2wWNph1sM1Dg=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "75000c2cf4422c8a1776284314921ac1289c02c9", "rev": "1e7a8f391f1a490460760065fa0630b5520f9cf8",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -915,16 +915,16 @@
}, },
"nixpkgs_12": { "nixpkgs_12": {
"locked": { "locked": {
"lastModified": 1717179513, "lastModified": 1738579205,
"narHash": "sha256-vboIEwIQojofItm2xGCdZCzW96U85l9nDW3ifMuAIdM=", "narHash": "sha256-o6BeeanSUALvz8oL2CHOikVjCf7j+HqlA0WGvKOUX3Q=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "63dacb46bf939521bdc93981b4cbb7ecb58427a0", "rev": "be5cf18b3d26ba2db938a72ade93ac8a9a7462ff",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nixos", "owner": "nixos",
"ref": "24.05", "ref": "release-24.11",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }
@ -1423,11 +1423,11 @@
"rust-overlay": "rust-overlay_7" "rust-overlay": "rust-overlay_7"
}, },
"locked": { "locked": {
"lastModified": 1736294704, "lastModified": 1738116794,
"narHash": "sha256-YgMv21vs7nYgyclya3XK024NpVi/l1EkgoBZGtFcXvg=", "narHash": "sha256-TXTZx/cpk0Jv15t2QdXRliEME9B6bVyrA0SyHYBPKl8=",
"owner": "zaphar", "owner": "zaphar",
"repo": "sheetsui", "repo": "sheetsui",
"rev": "d50c12a5bab588e0c08c0a046143b98701bb3ca9", "rev": "0a6807493c3e8fd9f4261135f0226d801a472d53",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -1,7 +1,7 @@
{ {
inputs = { inputs = {
# Default to sane nixpkgs versions # Default to sane nixpkgs versions
nixpkgs.url = "github:nixos/nixpkgs/24.05"; nixpkgs.url = "github:nixos/nixpkgs/release-24.11";
unstable.url = "nixpkgs"; unstable.url = "nixpkgs";
nixpkgs-darwin.url = "github:nixos/nixpkgs/nixpkgs-24.05-darwin"; nixpkgs-darwin.url = "github:nixos/nixpkgs/nixpkgs-24.05-darwin";
#lean4-flake = { #lean4-flake = {
@ -108,6 +108,11 @@
roslyn-nvim = custom-flakes.packages."${system}".roslyn-nvim; roslyn-nvim = custom-flakes.packages."${system}".roslyn-nvim;
ionide-nvim = custom-flakes.packages."${system}".ionide-nvim; ionide-nvim = custom-flakes.packages."${system}".ionide-nvim;
nvim = neovim-flake.packages."${system}".neovim; nvim = neovim-flake.packages."${system}".neovim;
tree-sitter-csharp = pkgs.callPackage ./nvim-treesitter-csharp.nix {
inherit (pkgs.neovimUtils) grammarToPlugin;
inherit (pkgs.tree-sitter) buildGrammar;
inherit (pkgs) fetchFromGitHub;
};
# TODO(jwall): When this actually builds we should use it. # TODO(jwall): When this actually builds we should use it.
#nvim-treesitter-powershell = pkgs.callPackage ./nvim-powershell.nix { #nvim-treesitter-powershell = pkgs.callPackage ./nvim-powershell.nix {
# inherit (pkgs.tree-sitter) buildGrammar; # inherit (pkgs.tree-sitter) buildGrammar;
@ -194,7 +199,7 @@ EOF";
nvim-treesitter-parsers.nix nvim-treesitter-parsers.nix
nvim-treesitter-parsers.zig nvim-treesitter-parsers.zig
nvim-treesitter-parsers.hoon nvim-treesitter-parsers.hoon
omnisharp-extended-lsp-nvim #omnisharp-extended-lsp-nvim
#neotest-dotnet #neotest-dotnet
nix-develop-nvim nix-develop-nvim
trouble-nvim trouble-nvim
@ -208,7 +213,7 @@ EOF";
vim-dadbod-completion vim-dadbod-completion
vim-dasht vim-dasht
direnv-vim direnv-vim
]) ++ [ possession-nvim harpoon-nvim d2-vim hunk-nvim neogit-nvim ]; ]) ++ [ possession-nvim harpoon-nvim d2-vim hunk-nvim neogit-nvim tree-sitter-csharp.neovim-plugin ];
}; };
}; };
}; };

View File

@ -1,11 +1,16 @@
{ buildGrammar, fetchFromGitHub, pkgs, }: { buildGrammar, fetchFromGitHub, grammarToPlugin, }:
buildGrammar { let grammar = buildGrammar {
language = "c-sharp"; language = "c_sharp";
version = "0.20.0-master"; version = "0.23.1-master";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "tree-sitter"; owner = "tree-sitter";
repo = "tree-sitter-c-sharp"; repo = "tree-sitter-c-sharp";
rev = "1648e21b4f087963abf0101ee5221bb413107b07"; rev = "b27b091bfdc5f16d0ef76421ea5609c82a57dff0";
hash = "sha256-WvkHtw8t14UNqiJvmS9dbGYQSVVzHS9mcWzxq+KLMnU="; hash = "sha256-kSbMv6fKELB5CTSevD1umUgKfb3rsucEnAVYHFiAHss=";
}; };
};
in
{
inherit grammar;
neovim-plugin = grammarToPlugin grammar;
} }