summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/apple-libunwind/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/apple-libunwind/package.py')
-rw-r--r--var/spack/repos/builtin/packages/apple-libunwind/package.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/apple-libunwind/package.py b/var/spack/repos/builtin/packages/apple-libunwind/package.py
index f689b0fbe2..02f54bd0fd 100644
--- a/var/spack/repos/builtin/packages/apple-libunwind/package.py
+++ b/var/spack/repos/builtin/packages/apple-libunwind/package.py
@@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
-from spack import *
+from spack.package import *
class AppleLibunwind(Package):
@@ -41,6 +41,10 @@ class AppleLibunwind(Package):
"""
raise InstallError(msg)
+ @fetcher.setter # Since fetcher is read-write, must override both
+ def fetcher(self):
+ _ = self.fetcher
+
def install(self, spec, prefix):
# sanity_check_prefix requires something in the install directory
mkdirp(prefix.lib)