diff --git a/pkgs/development/tools/build-managers/cmake/default.nix b/pkgs/development/tools/build-managers/cmake/default.nix index 32e16751395a..c1eafa49558f 100644 --- a/pkgs/development/tools/build-managers/cmake/default.nix +++ b/pkgs/development/tools/build-managers/cmake/default.nix @@ -50,6 +50,8 @@ stdenv.mkDerivation rec { --subst-var-by glibc_bin ${getBin glibc} \ --subst-var-by glibc_dev ${getDev glibc} \ --subst-var-by glibc_lib ${getLib glibc} + substituteInPlace Modules/FindCxxTest.cmake \ + --replace "$""{PYTHON_EXECUTABLE}" ${stdenv.shell} ''; configureFlags = [ "--docdir=share/doc/${name}"