pkgs.
This should provide nicer `throw` messages, and avoid back-and-forth like https://github.com/NixOS/nixpkgs/pull/254418#discussion_r1322076574