mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-03 02:47:45 +03:00
Make git revision available for nix flake builds (#12331)
This commit is contained in:
parent
c262fe41ab
commit
7b9b9329b9
2 changed files with 4 additions and 1 deletions
|
@ -138,6 +138,8 @@
|
|||
cp contrib/helix.png $out/share/icons/hicolor/256x256/apps
|
||||
installShellCompletion contrib/completion/hx.{bash,fish,zsh}
|
||||
'';
|
||||
# set git revision for nix flake builds, see 'git_hash' in helix-loader/build.rs
|
||||
HELIX_NIX_BUILD_REV = self.rev or self.dirtyRev or null;
|
||||
});
|
||||
helix = makeOverridableHelix self.packages.${system}.helix-unwrapped {};
|
||||
default = self.packages.${system}.helix;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue