unison: 2.53.7 -> 2.53.8 (#459671)

This commit is contained in:
Aleksana
2025-11-25 01:01:20 +00:00
committed by GitHub
2 changed files with 19 additions and 2 deletions
@@ -0,0 +1,14 @@
diff --git a/src/make_tools.ml b/src/make_tools.ml
index a5792b6..4f4d037 100644
--- a/src/make_tools.ml
+++ b/src/make_tools.ml
@@ -475,7 +475,7 @@ let shell_internal ?(err_null = false) ?exit_status ?(input_str = "") cmd =
Unix.handle_unix_error (fun () ->
if err_null || input_str <> "" then
let (sh_out, sh_in, _) as sh_full =
- Unix.open_process_full cmd [|"PATH=" ^ env.$("PATH")|] in
+ Unix.open_process_full cmd (Array.append (Unix.environment ()) [|"PATH=" ^ env.$("PATH")|]) in
if input_str <> "" then begin
output_string sh_in input_str;
flush sh_in
+5 -2
View File
@@ -12,15 +12,18 @@
stdenv.mkDerivation (finalAttrs: {
pname = "unison";
version = "2.53.7";
version = "2.53.8";
src = fetchFromGitHub {
owner = "bcpierce00";
repo = "unison";
rev = "v${finalAttrs.version}";
hash = "sha256-QmYcxzsnbRDQdqkLh82OLWrLF6v3qzf1aOIcnz0kwEk=";
hash = "sha256-ynsu9jLGFtjlzmHZtOdLEH5G6eXFAhZs9UayYrmKqp0=";
};
# Allow the build scripts to correctly call ocamlfind & detect dependencies
patches = [ ./fix-ocamlfind-env.patch ];
strictDeps = true;
nativeBuildInputs = [