From 362a4bb8b92e81fa3c1c703ae6148376de520c56 Mon Sep 17 00:00:00 2001 From: Tom Payerle Date: Thu, 18 Feb 2021 17:40:21 -0500 Subject: Fix template for Rpackage in spack create command (#21776) The signature for configure_args in the template for new RPackage packages was incorrect (different than what is defined and used in lib/spack/spack/build_systems/r.py) See issue #21774 --- lib/spack/spack/cmd/create.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/spack/spack/cmd/create.py b/lib/spack/spack/cmd/create.py index 26d169fed7..71d34a7ebb 100644 --- a/lib/spack/spack/cmd/create.py +++ b/lib/spack/spack/cmd/create.py @@ -322,7 +322,7 @@ class RPackageTemplate(PackageTemplate): # depends_on('r-foo', type=('build', 'run'))""" body_def = """\ - def configure_args(self, spec, prefix): + def configure_args(self): # FIXME: Add arguments to pass to install via --configure-args # FIXME: If not needed delete this function args = [] -- cgit v1.2.3-60-g2f50