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"
|
[ -f "$src" ] && ln -sf "$src" "$out/libexec/$tool"
|
||||||
done
|
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" { } ''
|
qtIncludeRoots = runCommand "qt6-include-roots" { } ''
|
||||||
mkdir -p $out/include
|
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")"
|
ln -sfn "$src" "$out/include/$(basename "$src")"
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue