diff options
author | Alan Pearce | 2022-10-14 18:01:11 +0200 |
---|---|---|
committer | Alan Pearce | 2022-10-14 18:01:18 +0200 |
commit | 6e34ca8bda9cddcce1ea73f73b883a3ec8358678 (patch) | |
tree | 8c244fa50f03640b663b07dbe5ef74bc67d80833 /user/modules | |
parent | bf435de812836511a9ba580a66acf3cd235cd15c (diff) | |
download | nixfiles-6e34ca8bda9cddcce1ea73f73b883a3ec8358678.tar.lz nixfiles-6e34ca8bda9cddcce1ea73f73b883a3ec8358678.tar.zst nixfiles-6e34ca8bda9cddcce1ea73f73b883a3ec8358678.zip |
Reformat nix files
Diffstat (limited to 'user/modules')
-rw-r--r-- | user/modules/tabnine.nix | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/user/modules/tabnine.nix b/user/modules/tabnine.nix index 1eef84ae..16065ab1 100644 --- a/user/modules/tabnine.nix +++ b/user/modules/tabnine.nix @@ -6,18 +6,18 @@ let inherit (pkgs) stdenv; cfg = config.programs.tabnine; lspConfigFile = config: - pkgs.runCommand "TabNine.toml" - { - buildInputs = [ pkgs.remarshal ]; - preferLocalBuild = true; - allowSubstitutes = false; - } - '' - remarshal -if json -of toml \ - < ${pkgs.writeText "config.json" (builtins.toJSON cfg.lspConfig)} \ - | sed -e 's/^\["\(.*\)"\]/[\1]/' \ - > $out - ''; + pkgs.runCommand "TabNine.toml" + { + buildInputs = [ pkgs.remarshal ]; + preferLocalBuild = true; + allowSubstitutes = false; + } + '' + remarshal -if json -of toml \ + < ${pkgs.writeText "config.json" (builtins.toJSON cfg.lspConfig)} \ + | sed -e 's/^\["\(.*\)"\]/[\1]/' \ + > $out + ''; in { |