From 461c9d783cbaced35338035e78a5245e599fdeca Mon Sep 17 00:00:00 2001 From: Utku Demir Date: Wed, 21 Nov 2018 11:57:39 +1300 Subject: [PATCH] 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 --- pkgs/applications/editors/kakoune/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/applications/editors/kakoune/default.nix b/pkgs/applications/editors/kakoune/default.nix index 23f9e486ad9..bcfbe53b565 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";