Skip to content

Commit

Permalink
Add a conflict for patchelf to catch errors earlier in bootstrapping (s…
Browse files Browse the repository at this point in the history
  • Loading branch information
haampie authored Sep 30, 2021
1 parent 525aa11 commit 4dee7d2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions var/spack/repos/builtin/packages/patchelf/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ class Patchelf(AutotoolsPackage):
# of SHT_NOTE and PT_NOTE'
patch('https://github.com/NixOS/patchelf/pull/230.patch', sha256='a155f233b228f02d7886e304cb13898d93801b52f351e098c2cc0719697ec9d0', when='@0.12')

conflicts('%gcc@:4.6', when='@0.10:', msg="Requires C++11 support")

def url_for_version(self, version):
if version < Version('0.12'):
return "https://nixos.org/releases/patchelf/patchelf-{0}/patchelf-{1}.tar.gz".format(version, version)
Expand Down

0 comments on commit 4dee7d2

Please sign in to comment.