From fc74ba03301708f2bf30db04c69a8d33691bc621 Mon Sep 17 00:00:00 2001 From: Bikal Lem Date: Sat, 5 Oct 2024 21:24:22 +0100 Subject: [PATCH] fix make test in nixos, don't use opam when not needed --- scripts/format_check.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/format_check.sh b/scripts/format_check.sh index 78d35db528..fc90a20a5a 100755 --- a/scripts/format_check.sh +++ b/scripts/format_check.sh @@ -9,7 +9,7 @@ reset='\033[0m' case "$(uname -s)" in Darwin|Linux) echo "Checking OCaml code formatting..." - if opam exec -- dune build @fmt; then + if dune build @fmt; then printf "${successGreen}✅ OCaml code formatting ok.${reset}\n" else printf "${warningYellow}⚠️ OCaml code formatting issues found.${reset}\n"