ITADN

Build fails for goauthentik-docs-2025.10.3.drv with SemVer errors

#83Open1wilkens 创建于 2026-01-05
1
1wilkenscommented
Hi, thanks for providing this package! I am new(ish) to NixOS and thus not sure if the issue is on my end but I am at wit's end what I could test next. When I enable a minimal configuration in my host as follows the build fails for the docs module as show below. ```nix services.authentik = { enable = true; environmentFile = config.age.secrets.my-secret.path; }; ``` Build failure seems to be related to SemVer parsing: ``` × Module build failed: ╰─▶ × Error: MDX compilation failed for file "/build/website/docs/add-secure-apps/applications/manage_apps.mdx" │ Cause: Semver version <= 2024 is not supported: 2024.12 │ Details: │ Error: Semver version <= 2024 is not supported: 2024.12 │ at file:///build/website/docusaurus-theme/remark/version-directive.mjs:49:23 │ at overload (file:///build/website/node_modules/unist-util-visit/lib/index.js:311:12) │ at node (textDirective<ak-version>) (file:///build/website/node_modules/unist-util-visit-parents/lib/index.js:346:27) │ at node (paragraph) (file:///build/website/node_modules/unist-util-visit-parents/lib/index.js:363:61) │ at node (mdxJsxFlowElement<div>) (file:///build/website/node_modules/unist-util-visit-parents/lib/index.js:363:61) │ at node (root) (file:///build/website/node_modules/unist-util-visit-parents/lib/index.js:363:61) │ at visitParents (file:///build/website/node_modules/unist-util-visit-parents/lib/index.js:304:31) │ at visit (file:///build/website/node_modules/unist-util-visit/lib/index.js:302:3) │ at file:///build/website/docusaurus-theme/remark/version-directive.mjs:32:9 │ at wrapped (file:///build/website/node_modules/trough/lib/index.js:160:27) │ at next (file:///build/website/node_modules/trough/lib/index.js:86:23) │ at done (file:///build/website/node_modules/trough/lib/index.js:194:7) │ at then (file:///build/website/node_modules/trough/lib/index.js:204:5) │ at wrapped (file:///build/website/node_modules/trough/lib/index.js:181:9) │ at next (file:///build/website/node_modules/trough/lib/index.js:86:23) │ at Object.run (file:///build/website/node_modules/trough/lib/index.js:57:5) │ at executor (file:///build/website/node_modules/unified/lib/index.js:901:20) │ at apply.run (file:///build/website/node_modules/unified/lib/index.js:884:19) │ at executor (file:///build/website/node_modules/unified/lib/index.js:737:12) │ at new Promise (<anonymous>) │ at apply.process (file:///build/website/node_modules/unified/lib/index.js:720:47) │ at Object.process (/build/website/node_modules/@docusaurus/mdx-loader/lib/processor.js:145:37) │ at compileToJSX (/build/website/node_modules/@docusaurus/mdx-loader/lib/utils.js:77:32) │ at async loadMDX (/build/website/node_modules/@docusaurus/mdx-loader/lib/loader.js:22:20) │ at async Object.mdxLoader (/build/website/node_modules/@docusaurus/mdx-loader/lib/loader.js:157:24) │ at compileToJSX (/build/website/node_modules/@docusaurus/mdx-loader/lib/utils.js:93:15) │ at async loadMDX (/build/website/node_modules/@docusaurus/mdx-loader/lib/loader.js:22:20) │ at async Object.mdxLoader (/build/website/node_modules/@docusaurus/mdx-loader/lib/loader.js:157:24) ``` As my workstation is not on nix (yet?), I am running all of this on my ArchLinux and deploy my hosts via `nixos-rebuild`. I saw the same error when running the integration test yesterday but weirdly enough, this worked when I reran is just now. I am also not sure why I even need to rebuild the flake for my remote host after the integration test had finished as I thought the package itself would be in the store but that may just be me not understanding nix correctly. Happy to provide any additional details! Cheers, 1wilkens
14 条评论