Fix yasnippet startup warning
This commit is contained in:
parent
d05ecd9b19
commit
b6cd4a3794
1 changed files with 4 additions and 0 deletions
4
doom.nix
4
doom.nix
|
|
@ -235,6 +235,10 @@ let
|
|||
if [[ -n "$(ls -A1 ${doomDir})" ]]; then
|
||||
ln -s ${doomDir}/* $out/
|
||||
fi
|
||||
# yasnippet logs an error at startup if snippets/ does not exist.
|
||||
if ! [[ -e $out/snippets ]]; then
|
||||
mkdir $out/snippets
|
||||
fi
|
||||
ln -sf ${doomIntermediates}/packages.el $out/
|
||||
ln -sf ${./cli2.el} $out/cli.el
|
||||
'';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue