diff options
Diffstat (limited to 'lib/spack/spack/spec.py')
-rw-r--r-- | lib/spack/spack/spec.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/spack/spack/spec.py b/lib/spack/spack/spec.py index 0b4e7dfacf..eb5e8f9369 100644 --- a/lib/spack/spack/spec.py +++ b/lib/spack/spack/spec.py @@ -1552,6 +1552,8 @@ class Spec(object): if not self._concrete: d['concrete'] = False + else: + d['full_hash'] = self._full_hash if 'patches' in self.variants: variant = self.variants['patches'] @@ -1734,6 +1736,7 @@ class Spec(object): # specs read in are concrete unless marked abstract spec._concrete = node.get('concrete', True) + spec._full_hash = node.get('full_hash', None) if 'patches' in node: patches = node['patches'] |