Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions pkgs/by-name/fr/freecad/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
cmake,
coin3d,
doxygen,
wrapGAppsHook3,
eigen,
fetchFromGitHub,
fetchpatch,
Expand Down Expand Up @@ -71,6 +72,7 @@ freecad-utils.makeCustomizable (
pkg-config
swig
doxygen
wrapGAppsHook3
qt6.wrapQtAppsHook
];

Expand Down Expand Up @@ -131,6 +133,8 @@ freecad-utils.makeCustomizable (
"-DBUILD_QT6=ON"
];

dontWrapGApps = true;

qtWrapperArgs =
let
binPath = lib.makeBinPath [
Expand All @@ -142,6 +146,7 @@ freecad-utils.makeCustomizable (
"--set COIN_GL_NO_CURRENT_CONTEXT_CHECK 1"
"--prefix PATH : ${binPath}"
"--prefix PYTHONPATH : ${python3Packages.makePythonPath pythonDeps}"
"\${gappsWrapperArgs[@]}"
];

postFixup = ''
Expand Down
Loading