diff --git a/test/language/test/ffi_nix.nix b/test/language/test/ffi_nix.nix index 9a07c1554..1abec35fb 100644 --- a/test/language/test/ffi_nix.nix +++ b/test/language/test/ffi_nix.nix @@ -6,7 +6,7 @@ let f: let # ./. is relative to this file in the build directory (language/build/dev/nix/ffi_nix.nix) - # In other targets, this would be relative to 'language/', so let's go back there' + # In other targets, this would be relative to 'language/', so let's go back there absPath = if builtins.isString f && builtins.substring 0 1 f != "/" then ./../../../../${f} else f; in builtins.pathExists absPath; halt = code: if code == 0 then null else builtins.abort (toString code);