Skip to content

Commit

Permalink
super-slicer: fix STEP importer library not found
Browse files Browse the repository at this point in the history
  • Loading branch information
srounce committed Dec 20, 2024
1 parent 40a5876 commit 82dd9a7
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions pkgs/applications/misc/prusa-slicer/super-slicer.nix
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,14 @@ let
--replace-fail 'auto &vi' 'auto vi'
'';

# We don't need PS overrides anymore, and gcode-viewer is embedded in the binary.
postInstall = null;
# We don't need PS overrides anymore, and gcode-viewer is embedded in the binary
# but we do still need to move OCCTWrapper.so to the lib directory
postInstall = ''
if [[ -f $out/bin/OCCTWrapper.so ]]; then
mkdir -p "$out/lib"
mv -v $out/bin/*.* $out/lib/
fi
'';
separateDebugInfo = true;

buildInputs = super.buildInputs ++ [
Expand Down

0 comments on commit 82dd9a7

Please sign in to comment.