mirror of
https://github.com/neovim/neovim.git
synced 2024-09-17 20:58:20 -04:00
build: add git sha to version when built with nix flake (#21210)
This commit is contained in:
parent
b49599ce7e
commit
849f544d62
@ -10,9 +10,12 @@
|
||||
{
|
||||
overlay = final: prev: {
|
||||
|
||||
neovim = final.neovim-unwrapped.overrideAttrs (oa: {
|
||||
version = "master";
|
||||
neovim = final.neovim-unwrapped.overrideAttrs (oa: rec {
|
||||
version = self.shortRev or "dirty";
|
||||
src = ../.;
|
||||
preConfigure = ''
|
||||
sed -i cmake.config/versiondef.h.in -e 's/@NVIM_VERSION_PRERELEASE@/-dev-${version}/'
|
||||
'';
|
||||
});
|
||||
|
||||
# a development binary to help debug issues
|
||||
|
Loading…
Reference in New Issue
Block a user