summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTom Payerle <payerle@umd.edu>2021-02-18 17:40:21 -0500
committerGitHub <noreply@github.com>2021-02-18 22:40:21 +0000
commit362a4bb8b92e81fa3c1c703ae6148376de520c56 (patch)
tree7530737a3560de3b86fbe0e38326c8826ff66520 /lib
parentf2e3edf6db08fc2bc43ee73c10d2da0fd06febd4 (diff)
downloadspack-362a4bb8b92e81fa3c1c703ae6148376de520c56.tar.gz
spack-362a4bb8b92e81fa3c1c703ae6148376de520c56.tar.bz2
spack-362a4bb8b92e81fa3c1c703ae6148376de520c56.tar.xz
spack-362a4bb8b92e81fa3c1c703ae6148376de520c56.zip
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
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/cmd/create.py2
1 files changed, 1 insertions, 1 deletions
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 = []