[staging-next] qt6.qtdeclarative: slightly less bad hack to make it build on Darwin again#334087
Conversation
| cmakeFlags = [ | ||
| "-DQt6ShaderToolsTools_DIR=${pkgsBuildBuild.qt6.qtshadertools}/lib/cmake/Qt6ShaderTools" | ||
| # for some reason doesn't get found automatically on Darwin | ||
| "-DPython_EXECUTABLE=${lib.getExe pkgsBuildBuild.python3}" |
There was a problem hiding this comment.
nit: lib.cmakeFeature
|
FWIW i was unable to reproduce on x64 darwin (big sur) building with and without the sandbox enabled. |
Might be on the wrong branch? This is targeting staging-next. https://hydra.nixos.org/eval/1808219?filter=qt6.qtdeclarative&compare=1808209&full= |
|
|
||
| qtModule { | ||
| pname = "qtdeclarative"; | ||
| strictDeps = !stdenv.isDarwin; # fails to detect python3 otherwise |
There was a problem hiding this comment.
No idea, someone with an actual Darwin machine may want to investigate.
i did check i was on staging-next and that the cmake changes were in the tree i was using. will double check once i have access to the machine later. |
[edit] yeah, idk. i can just comment out the line with |
|
Let's just merge this for now and investigate later. |
Description of changes
Not sure why it broke, could be the recent cmake changes?
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.