Skip to content

misc: update deps#304

Merged
SuperSandro2000 merged 1 commit intomainfrom
update
Mar 15, 2026
Merged

misc: update deps#304
SuperSandro2000 merged 1 commit intomainfrom
update

Conversation

@MarcelCoding
Copy link
Copy Markdown
Member

No description provided.

@github-actions
Copy link
Copy Markdown
Contributor

flake.lock compare links:

@SuperSandro2000 SuperSandro2000 merged commit 3e49b42 into main Mar 15, 2026
9 checks passed
@SuperSandro2000 SuperSandro2000 deleted the update branch March 15, 2026 20:44
@jalil-salame
Copy link
Copy Markdown
Contributor

jalil-salame commented Mar 16, 2026

This MR is causing issues with https://github.com/jalil-salame/configuration.nix, updating the search and then running nix build .#docs fails with:

nuscht-search> ✘ [ERROR] An error occurred while prerendering route '/configuration.nix/search'.
nuscht-search> Request for: http://localhost:41005/configuration.nix/search was aborted.
nuscht-search> TimeoutError: The operation was aborted due to timeout
nuscht-search> 
nuscht-search>  ELIFECYCLE  Command failed with exit code 1.

Weirdly, nix build .#search does work

@jalil-salame
Copy link
Copy Markdown
Contributor

This might be because I set baseHref

@SuperSandro2000
Copy link
Copy Markdown
Member

We are both not sure why that happens. Does that also happen with our major rewrite in #280?

@jalil-salame
Copy link
Copy Markdown
Contributor

jalil-salame commented Mar 19, 2026

#280 is broken since the packages branch was merged and deleted from ixx. Making ixx point to 5c474fe53ae04572f73a73bd8c316f397a8e5b75 instead I did (inputs.ixx.url = "github:NuschtOS/ixx/5c474fe53ae04572f73a73bd8c316f397a8e5b75").

I tried a bunch of stuff but I couldn't get it to work, I always got:

error: hash mismatch in fixed-output derivation '/nix/store/qjdhd0iszxwxlk702dkva4hfcdv9ln2y-nuscht-search-pnpm-deps.drv':
           likely URL: (unknown)
            specified: sha256-wr7CW/c0fHRF9dWVNVTYsFYdUnwkJ1CG1TwIgVqdUR0=
                  got: sha256-0qJK4ZvqJLMkaxGGuoV9H9eg5AFtJIy+OHJMDisx2g4=
        expected path: /nix/store/8dnv9za8hiq2bvsgzyc0mbypyf4qdlav-nuscht-search-pnpm-deps
             got path: /nix/store/dzwki7v9sl76a83g0xx9sn1bz1sjc3za-nuscht-search-pnpm-deps

@MarcelCoding
Copy link
Copy Markdown
Member Author

I've fixed the hash, now it works for me with this patch:

diff --git a/flake-modules/docs.nix b/flake-modules/docs.nix
index 594d592..36ecb5a 100644
--- a/flake-modules/docs.nix
+++ b/flake-modules/docs.nix
@@ -21,7 +21,7 @@
           };
           search = inputs'.nuschtosSearch.packages.mkMultiSearch {
             title = "Search Jalil's configuration.nix";
-            baseHref = "/";
+            baseHref = "/configuration.nix/search/";

             scopes = [
               (mkScope "NixOS" nixos)
@@ -58,7 +58,7 @@
               cleanup_md ${nvim-markdown} >> ./src/nvim-options.md
               cleanup_md ${nixos-markdown} >> ./src/nixos-options.md
               # link search site
-              ln -s "${search.override { baseHref = "/configuration.nix/search/"; }}" ./src/search
+              ln -s "${search}" ./src/search
             ''; # FIXME: only add the `/configuration.nix/` part for GH CI

             nativeBuildInputs = [ pkgs.mdbook-toc ];

@jalil-salame
Copy link
Copy Markdown
Contributor

I've fixed the hash, now it works for me with this patch:

diff --git a/flake-modules/docs.nix b/flake-modules/docs.nix
index 594d592..36ecb5a 100644
--- a/flake-modules/docs.nix
+++ b/flake-modules/docs.nix
@@ -21,7 +21,7 @@
           };
           search = inputs'.nuschtosSearch.packages.mkMultiSearch {
             title = "Search Jalil's configuration.nix";
-            baseHref = "/";
+            baseHref = "/configuration.nix/search/";

             scopes = [
               (mkScope "NixOS" nixos)
@@ -58,7 +58,7 @@
               cleanup_md ${nvim-markdown} >> ./src/nvim-options.md
               cleanup_md ${nixos-markdown} >> ./src/nixos-options.md
               # link search site
-              ln -s "${search.override { baseHref = "/configuration.nix/search/"; }}" ./src/search
+              ln -s "${search}" ./src/search
             ''; # FIXME: only add the `/configuration.nix/` part for GH CI

             nativeBuildInputs = [ pkgs.mdbook-toc ];

I'll check it out when I have time

@jalil-salame
Copy link
Copy Markdown
Contributor

Could you also fix the ixx url in the packages branch? ixx/packages no longer exists.

@jalil-salame
Copy link
Copy Markdown
Contributor

jalil-salame commented Mar 23, 2026

Can confirm the issue is fixed by switching to the packages branch: jalil-salame/configuration.nix@8f9e4ce

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants