Visitar URL original
Doxygen is built with different flags than the usual release · Issue #2986 · jetify-com/devbox · GitHub
Skip to content

Doxygen is built with different flags than the usual release #2986

Open

Description

@andu-nordic

Package name

doxygen@1.17.0

What changes are you requesting?

I tested only on 1.17.0, but likely other versions might be affected.

The doxygen releases that can be downloaded from their website were built with -Duse_libclang=ON while the ones available on https://www.nixhub.io/packages/doxygen are not.

This results in missing configuration options, that are available on official builds.
For example:

Nixhub link

https://www.nixhub.io/packages/doxygen

Activity

  1. added
    bugSomething isn't working
    triageIssue needs triage
    packageRequest to add a package or report a problem
    on Sep 25, 2026
  2. mikeland73 commented on Sep 28, 2026

    @mikeland73
    Collaborator

    Triage: unrelated, p4

    This is how nixpkgs packages doxygen, not something Devbox or Nixhub does. Nixhub only indexes what nixpkgs builds. The current nixpkgs pkgs/by-name/do/doxygen/package.nix (version 1.17.0) sets only:

    cmakeFlags = [ "-Duse_sys_spdlog=ON" "-Duse_sys_fmt=ON" "-Duse_sys_sqlite3=ON" ] ++ lib.optional withGui "-Dbuild_wizard=YES";

    It has no use_libclang option and no libclang/llvm build input, so every doxygen version in nixpkgs, and therefore on Nixhub, is built without clang support.

    Options:

    • Upstream (nixpkgs): open an issue or PR to add something like a withLibclang ? false argument that adds llvmPackages.libclang / llvm to buildInputs and -Duse_libclang=ON to cmakeFlags.
    • Locally: point a Devbox package at a local flake that overrides doxygen, e.g. doxygen.overrideAttrs (old: { buildInputs = old.buildInputs ++ [ llvmPackages.libclang llvmPackages.llvm ]; cmakeFlags = old.cmakeFlags ++ [ "-Duse_libclang=ON" ]; }). I haven't tested this, and it builds from source because the override isn't in the binary cache.

    Generated by Claude Code

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingp4packageRequest to add a package or report a problemprocessedtriageIssue needs triageunrelated

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions