summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/editors/kakoune
diff options
context:
space:
mode:
authorUtku Demir <me@utdemir.com>2018-11-21 11:57:39 +1300
committerRenaud <c0bw3b@users.noreply.github.com>2018-11-20 23:57:39 +0100
commit461c9d783cbaced35338035e78a5245e599fdeca (patch)
tree3873bee0abd39601cb514fd4413ba2ba40ee3a2f /pkgs/applications/editors/kakoune
parent2ff16ecfd325450a2f318408a186ba18ed9d7b2e (diff)
kakoune: override 'version' env var
* kakoune: Prefix version with 'v' (#50617) Turns out there's some tooling parsing the version number and having a 'v' prefix works better in that case. I tested that it builds & works fine on NixOS. See: https://github.com/ul/kak-lsp/issues/99 * Override 'version' env variable
Diffstat (limited to 'pkgs/applications/editors/kakoune')
-rw-r--r--pkgs/applications/editors/kakoune/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/applications/editors/kakoune/default.nix b/pkgs/applications/editors/kakoune/default.nix
index 23f9e486ad9a..bcfbe53b5658 100644
--- a/pkgs/applications/editors/kakoune/default.nix
+++ b/pkgs/applications/editors/kakoune/default.nix
@@ -21,6 +21,10 @@ stdenv.mkDerivation rec {
sed -ie 's#--no-xmllint#--no-xmllint --xsltproc-opts="--nonet"#g' Makefile
'';
+ preConfigure = ''
+ export version="v${version}"
+ '';
+
meta = {
homepage = http://kakoune.org/;
description = "A vim inspired text editor";