From 31cac9373c708a99698f461006f94e3216e53d04 Mon Sep 17 00:00:00 2001 From: Bryan Bennett Date: Wed, 3 Jan 2024 14:05:31 -0500 Subject: [PATCH] Bugfix: Add separator when calling `Lib.Util.nix` --- lib/flake_env__util.re | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/flake_env__util.re b/lib/flake_env__util.re index 2d9c062..e05c1fa 100644 --- a/lib/flake_env__util.re +++ b/lib/flake_env__util.re @@ -3,7 +3,7 @@ module Unix = Core_unix; let nix = (args) => { let stdout_chan = Unix.open_process_in( - "nix --extra-experimental-features \"nix-command flakes\" " ++ (args |> String.concat)); + "nix --extra-experimental-features \"nix-command flakes\" " ++ (args |> String.concat(~sep=" "))); let stdout_content = stdout_chan |> In_channel.input_all; let exit_code = Unix.close_process_in(stdout_chan); (exit_code, stdout_content)