plugin: nixpkgs qt6 headers live in default output not .dev
This commit is contained in:
parent
1b07787764
commit
a86e90e927
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
'';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue