From 5c993d6f67c4215dccea4cdd99b2ba01a6771641 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jalil=20David=20Salam=C3=A9=20Messina?= Date: Tue, 13 May 2025 00:08:53 +0200 Subject: [PATCH 1/2] ci: reduce max-jobs in build-packages The server seems to run out of memory otherwise T-T --- .forgejo/workflows/check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/check.yml b/.forgejo/workflows/check.yml index 8d44b1d..a275b66 100644 --- a/.forgejo/workflows/check.yml +++ b/.forgejo/workflows/check.yml @@ -26,7 +26,7 @@ jobs: - name: Build target run: | nix --version - nix-fast-build --max-jobs 2 --no-nom --skip-cached --no-link \ + nix-fast-build --max-jobs 1 --no-nom --skip-cached --no-link \ --flake ".#packages.$(nix eval --raw --impure --expr builtins.currentSystem)" build-vm: runs-on: nixos From c0ea237330f754804b6613b6f3c34e1d00983b5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jalil=20David=20Salam=C3=A9=20Messina?= Date: Tue, 6 May 2025 23:14:41 +0200 Subject: [PATCH 2/2] chore(flake): update nixvim Nixvim added a `systems` input which we override, also this commit has the `hunk.nvim` plugin which we want. --- flake.lock | 11 +++++++---- flake.nix | 1 + 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/flake.lock b/flake.lock index 6d6de0b..3e01bd2 100644 --- a/flake.lock +++ b/flake.lock @@ -339,14 +339,17 @@ "flake-parts" ], "nixpkgs": "nixpkgs_2", - "nuschtosSearch": [] + "nuschtosSearch": [], + "systems": [ + "systems" + ] }, "locked": { - "lastModified": 1746965641, - "narHash": "sha256-6+Cn5aMDSWvsk4nOXmea3whAI4v+PjYaEpcDkTEAlXc=", + "lastModified": 1747083534, + "narHash": "sha256-r88FEbKX1HLTovPFt1QHxzZDV7D4TGHhYlJcHmK7hYk=", "owner": "nix-community", "repo": "nixvim", - "rev": "02a85bd29333ce9fbde0d2c57a2378f47205bb21", + "rev": "ff0ccdf572ad6700a2a29a82cc5d17db29708988", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 04aaea2..77b627b 100644 --- a/flake.nix +++ b/flake.nix @@ -39,6 +39,7 @@ url = "github:nix-community/nixvim"; inputs = { flake-parts.follows = "flake-parts"; + systems.follows = "systems"; # disable optional inputs nuschtosSearch.follows = ""; };