This reverts commit 025881c236.
025881c236
Temporary compatibility fix, continuation of https://github.com/NixOS/nixpkgs/pull/37860