Skip to content

Commit

Permalink
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion main/snippet.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{ pkgs, ... }:
let
inherit (pkgs) callPackage;
read = builtins.readFile;
treesitter = callPackage ./treesitter.nix { };
in
with pkgs.vimPlugins;
@@ -9,7 +10,7 @@ with pkgs.vimPlugins;
package = vim-sonictemplate;
preConfig =
let
template = mkDerivation {
template = pkgs.stdenv.mkDerivation {
pname = "sonictemplate";
version = "custom";
src = ../tmpl/sonic;
3 changes: 2 additions & 1 deletion main/treesitter.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{ pkgs, ... }:
let
inherit (pkgs.lib.strings) concatStringsSep;
read = builtins.readFile;
in
with pkgs.vimPlugins;
@@ -10,7 +11,7 @@ rec {
let
buildGrammar =
{ language, src }:
mkDerivation {
pkgs.stdenv.mkDerivation {
inherit src;
pname = "custom-grammar-${language}";
version = "custom";

0 comments on commit 2d76a8f

Please sign in to comment.