summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/package.py b/lib/spack/spack/package.py
index 8ea6f4415c..de2c231e90 100644
--- a/lib/spack/spack/package.py
+++ b/lib/spack/spack/package.py
@@ -1162,7 +1162,7 @@ class PackageBase(with_metaclass(PackageMeta, object)):
patch_list
for spec, patch_list in self.patches.items()
if self.spec.satisfies(spec))
- return sorted(patchesToApply, key=lambda p: p.path_or_url)
+ return list(patchesToApply)
def content_hash(self, content=None):
"""Create a hash based on the sources and logic used to build the