mirror of https://github.com/helix-editor/helix
parent
8d58f6ce8d
commit
12523cd126
|
@ -6,6 +6,8 @@
|
||||||
installShellFiles,
|
installShellFiles,
|
||||||
git,
|
git,
|
||||||
gitRev ? null,
|
gitRev ? null,
|
||||||
|
grammarOverlays ? [],
|
||||||
|
includeGrammarIf ? _: true,
|
||||||
}: let
|
}: let
|
||||||
fs = lib.fileset;
|
fs = lib.fileset;
|
||||||
|
|
||||||
|
@ -27,7 +29,7 @@
|
||||||
# that they reside in. It is built by calling the derivation in the
|
# that they reside in. It is built by calling the derivation in the
|
||||||
# grammars.nix file, then taking the runtime directory in the git repo
|
# grammars.nix file, then taking the runtime directory in the git repo
|
||||||
# and hooking symlinks up to it.
|
# and hooking symlinks up to it.
|
||||||
grammars = callPackage ./grammars.nix {};
|
grammars = callPackage ./grammars.nix {inherit grammarOverlays includeGrammarIf;};
|
||||||
runtimeDir = runCommand "helix-runtime" {} ''
|
runtimeDir = runCommand "helix-runtime" {} ''
|
||||||
mkdir -p $out
|
mkdir -p $out
|
||||||
ln -s ${./runtime}/* $out
|
ln -s ${./runtime}/* $out
|
||||||
|
|
Loading…
Reference in New Issue