Skip to content

Commit

Permalink
kakoune: override 'version' env var
Browse files Browse the repository at this point in the history
* 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: kakoune-lsp/kakoune-lsp#99

* Override 'version' env variable
  • Loading branch information
utdemir authored and c0bw3b committed Nov 20, 2018
1 parent 2ff16ec commit 461c9d7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkgs/applications/editors/kakoune/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 461c9d7

Please sign in to comment.