wxPython doesn't build after switching to NixOS-Unstable

I’m having an issue with wxPython, which only happens after I switch my nixpkgs.url to unstable. The specific error text is:

error: builder for '/nix/store/f5gzc7pxgmspgb1dsbfqzm43phl33p10-python3.12-wxpython-4.2.1.drv' failed with exit code 2;
       last 10 log lines:
       > Removing folder: sip/siplib
       > sip-module --sdist --abi-version 12.8 --target-dir /build/tmpybexw_e0 wx.siplib
       > /build/wxPython-4.2.1/build.py:1406: DeprecationWarning: Python 3.14 will, by default, filter extracted tar archives and reject files or modify their metadata. Use the filter argument to control this behavior.
       >   tf.extractall(tmpdir)
       > Finished command: sip (0m3.653s)
       > Running command: build_py
       > "/nix/store/wfbjq35kxs6x83c3ncpfxdyl5gbhdx4h-python3-3.12.6/bin/python3.12" /build/wxPython-4.2.1/bin/waf --verbose --wx_config=wx-config --gtk3 --python="/nix/store/wfbjq35kxs6x83c3ncpfxdyl5gbhdx4h-python3-3.12.6/bin/python3.12" --out=build/waf/3.12/gtk3 configure build
       > /nix/store/wfbjq35kxs6x83c3ncpfxdyl5gbhdx4h-python3-3.12.6/bin/python3.12: can't open file '/build/wxPython-4.2.1/bin/waf': [Errno 2] No such file or directory
       > Command '"/nix/store/wfbjq35kxs6x83c3ncpfxdyl5gbhdx4h-python3-3.12.6/bin/python3.12" /build/wxPython-4.2.1/bin/waf --verbose --wx_config=wx-config --gtk3 --python="/nix/store/wfbjq35kxs6x83c3ncpfxdyl5gbhdx4h-python3-3.12.6/bin/python3.12" --out=build/waf/3.12/gtk3 configure build ' failed with exit code 2.
       > Finished command: build_py (0.61s)
       For full logs, run 'nix log /nix/store/f5gzc7pxgmspgb1dsbfqzm43phl33p10-python3.12-wxpython-4.2.1.drv'.
error: 1 dependencies of derivation '/nix/store/19m0wmlwp1lpggyg3xn9wl2zp96v9fra-python3-3.12.6-env.drv' failed to build
error: 1 dependencies of derivation '/nix/store/q98zprfmxsgwrz9qmqjzs7plccj8m2kg-playonlinux-4.4.drv' failed to build
error: 1 dependencies of derivation '/nix/store/zvqq4crmmpa2zkdmd9skzia6vqqfr18s-system-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/mgmb5ci3g33g8z0nclkqsxc601gy0ij4-nixos-system-nixos-24.11.20241018.4c2fcb0.drv' failed to build
The result of `nix log...`

Sourcing python-remove-tests-dir-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
Sourcing python-namespaces-hook
Running phase: unpackPhase
@nix { “action”: “setPhase”, “phase”: “unpackPhase” }
unpacking source archive /nix/store/w7f207hdirkpa09f2k3d520qpgmcd42m-wxPython-4.2.1.tar.gz
source root is wxPython-4.2.1
setting SOURCE_DATE_EPOCH to timestamp 1686103001 of file wxPython-4.2.1/wxPython.egg-info/top_level.txt
Running phase: patchPhase
@nix { “action”: “setPhase”, “phase”: “patchPhase” }
applying patch /nix/store/2din3zgxv77f9j5g52ywb45j7ngfyrwi-4.2-ctypes.patch
patching file wx/lib/wxcairo/wx_pycairo.py
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { “action”: “setPhase”, “phase”: “updateAutotoolsGnuConfigScriptsPhase” }
Updating Autotools / GNU config script to a newer upstream version: ./ext/wxWidgets/config.sub
Updating Autotools / GNU config script to a newer upstream version: ./ext/wxWidgets/src/expat/expat/conftools/config.sub
Updating Autotools / GNU config script to a newer upstream version: ./ext/wxWidgets/src/tiff/config/config.sub
Updating Autotools / GNU config script to a newer upstream version: ./ext/wxWidgets/src/png/config.sub
Updating Autotools / GNU config script to a newer upstream version: ./ext/wxWidgets/3rdparty/pcre/config.sub
Updating Autotools / GNU config script to a newer upstream version: ./ext/wxWidgets/config.guess
Updating Autotools / GNU config script to a newer upstream version: ./ext/wxWidgets/src/expat/expat/conftools/config.guess
Updating Autotools / GNU config script to a newer upstream version: ./ext/wxWidgets/src/tiff/config/config.guess
Updating Autotools / GNU config script to a newer upstream version: ./ext/wxWidgets/src/png/config.guess
Updating Autotools / GNU config script to a newer upstream version: ./ext/wxWidgets/3rdparty/pcre/config.guess
Running phase: configurePhase
@nix { “action”: “setPhase”, “phase”: “configurePhase” }
fixing libtool script ./ext/wxWidgets/src/expat/expat/conftools/ltmain.sh
fixing libtool script ./ext/wxWidgets/src/tiff/config/ltmain.sh
fixing libtool script ./ext/wxWidgets/src/png/ltmain.sh
fixing libtool script ./ext/wxWidgets/src/jpeg/ltmain.sh
fixing libtool script ./ext/wxWidgets/3rdparty/pcre/ltmain.sh
./ext/wxWidgets/src/expat/expat/configure
./ext/wxWidgets/src/tiff/configure
./ext/wxWidgets/src/png/configure
./ext/wxWidgets/3rdparty/pcre/configure
no configure script, doing nothing
Running phase: buildPhase
@nix { “action”: “setPhase”, “phase”: “buildPhase” }
Will build using: “/nix/store/wfbjq35kxs6x83c3ncpfxdyl5gbhdx4h-python3-3.12.6/bin/python3.12”
3.12.6 (main, Sep 6 2024, 19:03:47) [GCC 13.3.0]
Python’s architecture is 64bit
cfg.VERSION: 4.2.1

Running command: dox
bash ./regen.sh xml
warning: Tag ‘HTML_TIMESTAMP’ at line 364 of file ‘Doxyfile’ has become obsolete.
To avoid this warning please remove this line from your configuration file or upgrade it using “doxygen -u”
warning: Tag ‘FORMULA_TRANSPARENT’ at line 426 of file ‘Doxyfile’ has become obsolete.
To avoid this warning please remove this line from your configuration file or upgrade it using “doxygen -u”
warning: Tag ‘LATEX_SOURCE_CODE’ at line 459 of file ‘Doxyfile’ has become obsolete.
To avoid this warning please remove this line from your configuration file or upgrade it using “doxygen -u”
warning: Tag ‘DOCBOOK_PROGRAMLISTING’ at line 501 of file ‘Doxyfile’ has become obsolete.
To avoid this warning please remove this line from your configuration file or upgrade it using “doxygen -u”
warning: Tag ‘CLASS_DIAGRAMS’ at line 552 of file ‘Doxyfile’ has become obsolete.
To avoid this warning please remove this line from your configuration file or upgrade it using “doxygen -u”
warning: Tag ‘DOT_FONTNAME’ at line 557 of file ‘Doxyfile’ has become obsolete.
To avoid this warning please remove this line from your configuration file or upgrade it using “doxygen -u”
warning: Tag ‘DOT_FONTSIZE’ at line 558 of file ‘Doxyfile’ has become obsolete.
To avoid this warning please remove this line from your configuration file or upgrade it using “doxygen -u”
warning: Tag ‘DOT_TRANSPARENT’ at line 581 of file ‘Doxyfile’ has become obsolete.
To avoid this warning please remove this line from your configuration file or upgrade it using “doxygen -u”
Finished command: dox (0m36.738s)
Running command: etg
/build/wxPython-4.2.1/sphinxtools/constants.py:226: SyntaxWarning: invalid escape sequence ‘\w’
CONSTANT_RE = re.compile(‘^([\w\s,]+)=’, re.M)
Finished command: etg (0m1.298s)
Running command: sip
Removing folder: sip/siplib
sip-module --sdist --abi-version 12.8 --target-dir /build/tmpybexw_e0 wx.siplib
/build/wxPython-4.2.1/build.py:1406: DeprecationWarning: Python 3.14 will, by default, filter extracted tar archives and reject files or modify their metadata. Use the filter argument to control this behavior.
tf.extractall(tmpdir)
Finished command: sip (0m3.653s)
Running command: build_py
“/nix/store/wfbjq35kxs6x83c3ncpfxdyl5gbhdx4h-python3-3.12.6/bin/python3.12” /build/wxPython-4.2.1/bin/waf --verbose --wx_config=wx-config --gtk3 --python=“/nix/store/wfbjq35kxs6x83c3ncpfxdyl5gbhdx4h-python3-3.12.6/bin/python3.12” --out=build/waf/3.12/gtk3 configure build
/nix/store/wfbjq35kxs6x83c3ncpfxdyl5gbhdx4h-python3-3.12.6/bin/python3.12: can’t open file ‘/build/wxPython-4.2.1/bin/waf’: [Errno 2] No such file or directory
Command '“/nix/store/wfbjq35kxs6x83c3ncpfxdyl5gbhdx4h-python3-3.12.6/bin/python3.12” /build/wxPython-4.2.1/bin/waf --verbose --wx_config=wx-config --gtk3 --python=“/nix/store/wfbjq35kxs6x83c3ncpfxdyl5gbhdx4h-python3-3.12.6/bin/python3.12” --out=build/waf/3.12/gtk3 configure build ’ failed with exit code 2.
Finished command: build_py (0.61s)

The issue here appears to be /nix/store/wfbjq35kxs6x83c3ncpfxdyl5gbhdx4h-python3-3.12.6/bin/python3.12: can't open file '/build/wxPython-4.2.1/bin/waf': [Errno 2] No such file or directory. I’m not sure what that file is.
I’d love any help relating to this, I’ve tried to solve this, but I’m completely lost. My dotfiles are here, and I’m running this on an HP Spectre x360 convertible 13-w0XX.