summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-ipykernel/package.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/py-ipykernel/package.py b/var/spack/repos/builtin/packages/py-ipykernel/package.py
index 134c756490..1428f7d804 100644
--- a/var/spack/repos/builtin/packages/py-ipykernel/package.py
+++ b/var/spack/repos/builtin/packages/py-ipykernel/package.py
@@ -43,6 +43,7 @@ class PyIpykernel(PythonPackage):
phases = ['build', 'install', 'install_data']
- def install_data(self):
+ def install_data(self, spec, prefix):
""" install the Jupyter kernel spec """
- self.spec['python'].command('-m ipykernel', ['install'])
+ self.spec['python'].command(
+ '-m', 'ipykernel', 'install', '--prefix=' + prefix)