chore: update inputs #361

Merged
jalil merged 2 commits from push-sxzpkvruuskx into main 2025-03-19 19:18:19 +01:00
3 changed files with 22 additions and 25 deletions

18
flake.lock generated
View file

@ -293,11 +293,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1738797219, "lastModified": 1742272065,
"narHash": "sha256-KRwX9Z1XavpgeSDVM/THdFd6uH8rNm/6R+7kIbGa+2s=", "narHash": "sha256-ud8vcSzJsZ/CK+r8/v0lyf4yUntVmDq6Z0A41ODfWbE=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "1da52dd49a127ad74486b135898da2cef8c62665", "rev": "3549532663732bfd89993204d40543e9edaec4f2",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -316,11 +316,11 @@
"nuschtosSearch": [] "nuschtosSearch": []
}, },
"locked": { "locked": {
"lastModified": 1742255305, "lastModified": 1742396414,
"narHash": "sha256-XxygfriVXQt+5Iqh6AOjZL5Aes5dH2xzVKpHpL8pDQg=", "narHash": "sha256-e9Uv44rVDAG2ohNejttl9Pq5r4dxIzWxt+1hvKTQK5E=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nixvim", "repo": "nixvim",
"rev": "78f6166c23f80bdfbcc8c44b20f7f4132299a33f", "rev": "d79c291d5d80d587d518e0f530cc55adb0638c80",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -459,11 +459,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1742303424, "lastModified": 1742370146,
"narHash": "sha256-2R7cGdcA2npQQcIWu2cTlU63veTzwVZe78BliIuJT00=", "narHash": "sha256-XRE8hL4vKIQyVMDXykFh4ceo3KSpuJF3ts8GKwh5bIU=",
"owner": "numtide", "owner": "numtide",
"repo": "treefmt-nix", "repo": "treefmt-nix",
"rev": "b3b938ab8ba2e8a0ce9ee9b30ccfa5e903ae5753", "rev": "adc195eef5da3606891cedf80c0d9ce2d3190808",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -13,22 +13,19 @@ run-vm: build-vm
update-vim-plugins: update-vim-plugins:
#!/bin/sh #!/bin/sh
# Use local nixpkgs if available plugindir=./modules/nixvim/extraPlugins
nixpkgs="$HOME/Dev/nixpkgs"
# copy nixpkgs from local checkout # copy nixpkgs from local checkout
if [ ! -d "$nixpkgs" ]; then nixpkgs="$(mktemp -d)"
nixpkgs="$(mktemp -d)" cp -r /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/. "$nixpkgs"
cp -r /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/. "$nixpkgs" cd "$nixpkgs"
cd "$nixpkgs" git init .
git init . git add .
git add . git commit -m 'dummy commit'
git commit -m 'dummy commit' cd -
cd -
fi
# update vim plugins # update vim plugins
nix run nixpkgs#vimPluginsUpdater -- --proc=1 --nixpkgs "$nixpkgs" --no-commit -i ./nvim/extraPlugins/plugins -o ./nvim/extraPlugins/generated.nix update nix run nixpkgs#vimPluginsUpdater -- --proc=1 --nixpkgs "$nixpkgs" --no-commit -i "$plugindir/plugins" -o "$plugindir/generated.nix" update
# format the generated output # format the generated output
nix fmt ./nvim/extraPlugins/generated.nix nix fmt "$plugindir/generated.nix"
# Amend Update flake.lock PR # Amend Update flake.lock PR
flake-pr: flake-pr:

View file

@ -10,12 +10,12 @@
final: prev: { final: prev: {
nvim-silicon = buildVimPlugin { nvim-silicon = buildVimPlugin {
pname = "nvim-silicon"; pname = "nvim-silicon";
version = "2024-08-31"; version = "2025-01-09";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "michaelrommel"; owner = "michaelrommel";
repo = "nvim-silicon"; repo = "nvim-silicon";
rev = "9fe6001dc8cad4d9c53bcfc8649e3dc76ffa169c"; rev = "7f66bda8f60c97a5bf4b37e5b8acb0e829ae3c32";
sha256 = "1qczi06yndkr2pmwidlkgmk0395x189sznvscn4fnr96jx58j5yl"; sha256 = "1zk6lgghvdcys20cqvh2g1kjf661q1w97niq5nx1zz4yppy2f9jy";
}; };
meta.homepage = "https://github.com/michaelrommel/nvim-silicon/"; meta.homepage = "https://github.com/michaelrommel/nvim-silicon/";
}; };