From a86e90e92765618edaa47c74d0e312f80ebefacf Mon Sep 17 00:00:00 2001 From: Damocles Date: Mon, 4 May 2026 19:22:49 +0200 Subject: [PATCH] plugin: nixpkgs qt6 headers live in default output not .dev --- nix/plugin.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nix/plugin.nix b/nix/plugin.nix index 762c385..c9ca355 100644 --- a/nix/plugin.nix +++ b/nix/plugin.nix @@ -25,9 +25,11 @@ let [ -f "$src" ] && ln -sf "$src" "$out/libexec/$tool" done ''; + # Note: nixpkgs qt6 puts headers in the regular output, not .dev (which only + # has mkspecs). Use qt6.qtbase / qt6.qtdeclarative directly. qtIncludeRoots = runCommand "qt6-include-roots" { } '' mkdir -p $out/include - for src in ${qt6.qtbase.dev}/include/* ${qt6.qtdeclarative.dev}/include/*; do + for src in ${qt6.qtbase}/include/* ${qt6.qtdeclarative}/include/*; do ln -sfn "$src" "$out/include/$(basename "$src")" done '';