mirror of
https://git.sr.ht/~bryan_bennett/flake_env
synced 2025-12-16 14:41:24 +01:00
Bugfix: Add separator when calling Lib.Util.nix
This commit is contained in:
parent
83aaf4bc4d
commit
31cac9373c
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue