Merge branch 'main' of github.com:mitchellh/ghostty

This commit is contained in:
Krzysztof Wolicki
2024-01-04 23:37:24 +01:00
2 changed files with 6 additions and 1 deletions

View File

@ -62,4 +62,9 @@
# Our supported systems are the same supported systems as the Zig binaries.
}) (builtins.attrNames zig.packages));
nixConfig = {
extra-substituters = ["https://ghostty.cachix.org"];
extra-trusted-public-keys = ["ghostty.cachix.org-1:QB389yTa6gTyneehvqG58y0WnHjQOqgnA+wBnpWWxns="];
};
}

View File

@ -2312,7 +2312,7 @@ pub const RepeatablePath = struct {
// If it isn't absolute, we need to make it absolute relative
// to the base.
var buf: [std.fs.MAX_PATH_BYTES]u8 = undefined;
const abs = std.os.realpath(path, &buf) catch |err| {
const abs = dir.realpath(path, &buf) catch |err| {
try errors.add(alloc, .{
.message = try std.fmt.allocPrintZ(
alloc,