nixpkgs cmake uses NIXPKGS_CMAKE_PREFIX_PATH rather than CMAKE_PREFIX_PATH env to specify module search paths. Add the env variable to meson to allow finding modules via cmake to work.
···3131 };
32323333 patches = [
3434+ # Nixpkgs cmake uses NIXPKGS_CMAKE_PREFIX_PATH for the search path
3535+ ./000-nixpkgs-cmake-prefix-path.patch
3636+3437 # In typical distributions, RPATH is only needed for internal libraries so
3538 # meson removes everything else. With Nix, the locations of libraries
3639 # are not as predictable, therefore we need to keep them in the RPATH.