summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2017-12-10 14:43:49 -0600
committerMassimiliano Culpo <massimiliano.culpo@gmail.com>2017-12-10 21:43:49 +0100
commitf41a263a28bd51ee40ffaf639683170a4b09764e (patch)
tree08faffc73ba53ee5bde2d429d32249a4884aec6f
parent95a384f05107cc80e0da7d5e7a5b75380ebf76f3 (diff)
downloadspack-f41a263a28bd51ee40ffaf639683170a4b09764e.tar.gz
spack-f41a263a28bd51ee40ffaf639683170a4b09764e.tar.bz2
spack-f41a263a28bd51ee40ffaf639683170a4b09764e.tar.xz
spack-f41a263a28bd51ee40ffaf639683170a4b09764e.zip
Fix reference to self.versions in neovim package (#6639)
-rw-r--r--var/spack/repos/builtin/packages/neovim/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/neovim/package.py b/var/spack/repos/builtin/packages/neovim/package.py
index 4e779014dd..9cf00c7899 100644
--- a/var/spack/repos/builtin/packages/neovim/package.py
+++ b/var/spack/repos/builtin/packages/neovim/package.py
@@ -49,7 +49,7 @@ class Neovim(CMakePackage):
def cmake_args(self):
args = []
- if version >= Version('0.2.1'):
+ if self.version >= Version('0.2.1'):
args = ['-DPREFER_LUA=ON']
return args