summaryrefslogtreecommitdiff
path: root/nix/package/dev-shell.nix
diff options
context:
space:
mode:
author·𐑑𐑴𐑕𐑑𐑩𐑀2025-12-10 13:00:26 +0000
committer·𐑑𐑴𐑕𐑑𐑩𐑀2025-12-10 13:00:26 +0000
commit254b567412a50576d95f5b7c99ce128991e76357 (patch)
treec5642012ef75cf204308d869a94d701349a86031 /nix/package/dev-shell.nix
parentbcb2ef2eb63031df54e4916b11063b1f22a57a84 (diff)
downloadnixtaml-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/dev-shell.nix')
-rw-r--r--nix/package/dev-shell.nix32
1 files changed, 32 insertions, 0 deletions
diff --git a/nix/package/dev-shell.nix b/nix/package/dev-shell.nix
new file mode 100644
index 0000000..4ace75c
--- /dev/null
+++ b/nix/package/dev-shell.nix
@@ -0,0 +1,32 @@
+#──────────────────────────────────────────────────────────────────────────────┐
+# SPDX-FileCopyrightText: 2025 toastal <https://toast.al/contact/> β”‚
+# SPDX-License-Identifier: LGPL-2.1-or-later β”‚
+#β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
+{
+ mkShell,
+ kdlfmt,
+ topiary,
+ ocamlPackages,
+ nixtamal,
+ nixfmt-3-space,
+ ocamlformat-rpc-bin,
+}:
+
+mkShell {
+ name = "nixtamal";
+ inputsFrom = [
+ nixtamal
+ ];
+ packages = [
+ kdlfmt
+ nixfmt-3-space
+ topiary
+
+ ocamlPackages.alcotest
+ ocamlPackages.ocaml-lsp
+ ocamlformat-rpc-bin # πŸ’’ why does the LSP depend on ocamlformatβ€½
+ ];
+ env = {
+ TOPIARY_CONFIG_FILE = "${../../.topiary.ncl}";
+ };
+}