summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorGeorge Hartzell <hartzell@alerce.com>2018-08-05 11:26:22 -0700
committerAdam J. Stewart <ajstewart426@gmail.com>2018-08-05 13:26:22 -0500
commit9c2c6c7f7eebc6c2c7fa90cc86807c9693264dd2 (patch)
tree07daf7c7f461be6c043e4939f02fe02d7ba2d4ce /var
parent7e0bd152b72cf4990276943b168ffd2279770a91 (diff)
downloadspack-9c2c6c7f7eebc6c2c7fa90cc86807c9693264dd2.tar.gz
spack-9c2c6c7f7eebc6c2c7fa90cc86807c9693264dd2.tar.bz2
spack-9c2c6c7f7eebc6c2c7fa90cc86807c9693264dd2.tar.xz
spack-9c2c6c7f7eebc6c2c7fa90cc86807c9693264dd2.zip
Add unzip runtime dependency to lua package (#8831)
* Add unzip to lua-luaposix I ended up on an [Ubuntu] system that hadn't had unzip employed and discovered lua-luaposix requires it (while buildig Lmod). Closes #8533 * Move unzip prereq to lua, type=run Rather than touching up each of the lua rocks (packages) that need unzip, make it available as a run dependency in lua. Tested by building lmod on a minimal Ubuntu system.
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/lua/package.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/lua/package.py b/var/spack/repos/builtin/packages/lua/package.py
index 4faae8fc48..b0f559db50 100644
--- a/var/spack/repos/builtin/packages/lua/package.py
+++ b/var/spack/repos/builtin/packages/lua/package.py
@@ -49,6 +49,8 @@ class Lua(Package):
depends_on('ncurses')
depends_on('readline')
+ # luarocks needs unzip for some packages (e.g. lua-luaposix)
+ depends_on('unzip', type='run')
resource(
name="luarocks",