R: look only at run dependencies of build and run deps
This commit is contained in:
		| @@ -123,7 +123,7 @@ def setup_dependent_environment(self, spack_env, run_env, extension_spec): | |||||||
|         # Set R_LIBS to include the library dir for the |         # Set R_LIBS to include the library dir for the | ||||||
|         # extension and any other R extensions it depends on. |         # extension and any other R extensions it depends on. | ||||||
|         r_libs_path = [] |         r_libs_path = [] | ||||||
|         for d in extension_spec.traverse(): |         for d in extension_spec.traverse(deptype=nolink, deptype_query='run'): | ||||||
|             if d.package.extends(self.spec): |             if d.package.extends(self.spec): | ||||||
|                 r_libs_path.append(os.path.join(d.prefix, self.r_lib_dir)) |                 r_libs_path.append(os.path.join(d.prefix, self.r_lib_dir)) | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Ben Boeckel
					Ben Boeckel