summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-matplotlib/package.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-matplotlib/package.py b/var/spack/repos/builtin/packages/py-matplotlib/package.py
index aa1ec19543..df552de40a 100644
--- a/var/spack/repos/builtin/packages/py-matplotlib/package.py
+++ b/var/spack/repos/builtin/packages/py-matplotlib/package.py
@@ -139,6 +139,8 @@ class PyMatplotlib(PythonPackage):
def set_backend(self):
"""Set build options with regards to backend GUI libraries."""
+ backend = self.spec.variants['backend'].value
+
with open('setup.cfg', 'w') as setup:
# Default backend
setup.write('[rc_options]\n')