diff --git a/lib/spack/spack/cmd/create.py b/lib/spack/spack/cmd/create.py index 2901dcfa63d..14b213a756b 100644 --- a/lib/spack/spack/cmd/create.py +++ b/lib/spack/spack/cmd/create.py @@ -231,7 +231,7 @@ class PythonPackageTemplate(PackageTemplate): # depends_on('py-foo', type=('build', 'run'))""" body = """\ - def build_args(self): + def build_args(self, spec, prefix): # FIXME: Add arguments other than --prefix # FIXME: If not needed delete the function args = []