summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Green <greenc@fnal.gov>2019-03-26 13:39:40 -0500
committerPeter Scheibel <scheibel1@llnl.gov>2019-03-26 13:39:40 -0500
commit670ef9bd7cc8cc7e07419e41f3dc4f50f51a383d (patch)
treeb43bef16b37c4fbd316dff3b8844a5485205b980
parent63ddc44db62f455560eea0974b7ea429d76b041d (diff)
downloadspack-670ef9bd7cc8cc7e07419e41f3dc4f50f51a383d.tar.gz
spack-670ef9bd7cc8cc7e07419e41f3dc4f50f51a383d.tar.bz2
spack-670ef9bd7cc8cc7e07419e41f3dc4f50f51a383d.tar.xz
spack-670ef9bd7cc8cc7e07419e41f3dc4f50f51a383d.zip
nix package: improve dependencies based on prerequisites from manual. (#10927)
-rw-r--r--var/spack/repos/builtin/packages/nix/package.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/nix/package.py b/var/spack/repos/builtin/packages/nix/package.py
index e62e59dd18..528f330efa 100644
--- a/var/spack/repos/builtin/packages/nix/package.py
+++ b/var/spack/repos/builtin/packages/nix/package.py
@@ -29,12 +29,13 @@ class Nix(AutotoolsPackage):
depends_on('autoconf', type='build')
depends_on('automake', type='build')
- depends_on('bison', type='build')
- depends_on('flex', type='build')
+ depends_on('bison@2.6.0:', type='build')
+ depends_on('flex@2.5.35:', type='build')
depends_on('libtool', type='build')
depends_on('libxslt', when='+doc', type='build')
- depends_on('boost')
+ depends_on('boost@1.66.0:+coroutine+context cxxstd=14', when='@2.2.0:')
+ depends_on('boost@1.61.0:+coroutine+context cxxstd=14', when='@2.0.0:')
depends_on('brotli')
depends_on('editline')
depends_on('m4', type='build')
@@ -42,7 +43,8 @@ class Nix(AutotoolsPackage):
depends_on('bzip2')
depends_on('curl')
depends_on('libseccomp', when='+sandboxing')
- depends_on('sqlite')
+ depends_on('openssl')
+ depends_on('sqlite@3.6.19:')
depends_on('xz')
# gcc 4.9+ and higher supported with c++14