Missing dependency problem in orca-slicer

Hi!

I’ve recently updated to 24.11, and while building orca-slicer I’m getting an error. Since 24.05, orca-slicer updated from 2.1.1 to 2.2.0.

       > -- Looking for shmat - found
       > -- Looking for IceConnectionNumber in ICE
       > -- Looking for IceConnectionNumber in ICE - found
       > -- Checking for module 'webkit2gtk-4.1'
       > --   No package 'webkit2gtk-4.1' found
       > CMake Error at /nix/store/4k2h9qsps52n1v56zq03yi67dwmxa81i-cmake-3.30.5/share/cmake-3.30/Modules/FindPkgConfig.cmake:645 (message):
       >   The following required packages were not found:
       >
       >    - webkit2gtk-4.1
       >
       > Call Stack (most recent call first):
       >   /nix/store/4k2h9qsps52n1v56zq03yi67dwmxa81i-cmake-3.30.5/share/cmake-3.30/Modules/FindPkgConfig.cmake:873 (_pkg_check_modules_internal)
       >   src/slic3r/CMakeLists.txt:666 (pkg_check_modules)
       >
       > 
       > -- Configuring incomplete, errors occurred!

To my understanding, there is not webkit2gtk package in nixpkgs. The closest thing I found is webkitgtk_4_1. Is there anything I can do to fix this, except for asking the maintainers or orca-slicer people (which I already did). To me it seems like it’s a deeper issue than adding it to buildInputs, but maybe I’m missing something. I’d like to learn how to fix issues like this in the future, but making orca-slicer work is more urgent for me now. Hence, my post. Thanks :slight_smile:

Seems fixed orca-slicer 2.2.0 build fails on master due to missing webkit2gtk-4.1 · Issue #358666 · NixOS/nixpkgs · GitHub and is in both 24.11 and unstable Nixpkgs PR #360738 ("[Backport release-24.11] orca-slicer: remove FLATPAK option") progress