rPackages.findpython: add nixpkgs python to list of python_cmds

This commit is contained in:
Bruno Rodrigues
2025-03-12 07:57:34 +01:00
parent a59cbcfc9d
commit e9b2dfbb55
+9
View File
@@ -1123,6 +1123,15 @@ let
'';
});
findpython = old.findpython.overrideAttrs (attrs: {
postPatch = ''
substituteInPlace "R/find_python_cmd.r" \
--replace-fail 'python_cmds[which(python_cmds != "")]' \
'python_cmds <- c(python_cmds, file.path("${lib.getBin pkgs.python3}", "bin", "python3"))
python_cmds[which(python_cmds != "")]'
'';
});
alcyon = old.alcyon.overrideAttrs (attrs: {
configureFlags = [
"--enable-force-openmp"