diff options
| author | Β·ππ΄πππ©π€ | 2025-12-10 13:00:26 +0000 |
|---|---|---|
| committer | Β·ππ΄πππ©π€ | 2025-12-10 13:00:26 +0000 |
| commit | 254b567412a50576d95f5b7c99ce128991e76357 (patch) | |
| tree | c5642012ef75cf204308d869a94d701349a86031 /nix/package/ocamlformat-rpc-bin.nix | |
| parent | bcb2ef2eb63031df54e4916b11063b1f22a57a84 (diff) | |
| download | nixtaml-254b567412a50576d95f5b7c99ce128991e76357.tar nixtaml-254b567412a50576d95f5b7c99ce128991e76357.tar.gz nixtaml-254b567412a50576d95f5b7c99ce128991e76357.tar.bz2 nixtaml-254b567412a50576d95f5b7c99ce128991e76357.tar.lz nixtaml-254b567412a50576d95f5b7c99ce128991e76357.tar.xz nixtaml-254b567412a50576d95f5b7c99ce128991e76357.tar.zst nixtaml-254b567412a50576d95f5b7c99ce128991e76357.zip | |
nix onset
Diffstat (limited to 'nix/package/ocamlformat-rpc-bin.nix')
| -rw-r--r-- | nix/package/ocamlformat-rpc-bin.nix | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/nix/package/ocamlformat-rpc-bin.nix b/nix/package/ocamlformat-rpc-bin.nix new file mode 100644 index 0000000..935c314 --- /dev/null +++ b/nix/package/ocamlformat-rpc-bin.nix @@ -0,0 +1,16 @@ +#βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ +# SPDX-FileCopyrightText: 2025 toastal <https://toast.al/contact/> β +# SPDX-License-Identifier: LGPL-2.1-or-later β +#βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ +# I donβt like ocamlformat as it doesnβt have tab support despite OCaml fully +# supporting tabsβββso I use Topiary. However, the OCaml LSP requires +{ + lib, + runCommand, + ocamlformat, +}: + +runCommand "extract-ocamlformat-rpc-bin" { } '' + mkdir -p $out/bin + cp ${lib.getBin ocamlformat}/bin/ocamlformat-rpc $out/bin/ +'' |
