Fixes #12325.
This should make `_NIX_TEST_ACCEPT=1` work again, fixing #11369. Progress on #2503
Co-Authored-By: Qyriad <qyriad@qyriad.me> Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>