Recover the old patching order for packages. (#7558)

fixes #7543

This is very likely an hot-fix, while a more permanent solution is
needed. See this comment for more insight:

 https://github.com/spack/spack/pull/7193#discussion_r176448831

on the problem.
This commit is contained in:
Massimiliano Culpo 2018-03-22 18:09:43 +01:00 committed by Todd Gamblin
parent c8a8079c34
commit 6699ba8769

View file

@ -1162,7 +1162,7 @@ def patches_to_apply(self):
patch_list patch_list
for spec, patch_list in self.patches.items() for spec, patch_list in self.patches.items()
if self.spec.satisfies(spec)) if self.spec.satisfies(spec))
return sorted(patchesToApply, key=lambda p: p.path_or_url) return list(patchesToApply)
def content_hash(self, content=None): def content_hash(self, content=None):
"""Create a hash based on the sources and logic used to build the """Create a hash based on the sources and logic used to build the