I'm trying to use an environment variable and do not know how I can add another path on top of the environment variable in the build.zig
here's what I currently have:
const vk_path = b.graph.env_map.get("VULKAN_SDK") orelse
b.graph.env_map.get("VK_SDK_PATH") orelse
std.debug.panic("Error getting VK_SDK_PATH or VULKAN_SDK environment variable!", .{});
std.debug.print("{s}", .{vk_path});
const mod = b.addModule("root", .{
.root_source_file = b.path("src/root.zig"),
.target = target,
});
const vulkan = b.dependency("vulkan_zig", .{
.registry = b.pathFromRoot(std.fmt.comptimePrint("{s}/share/vulkan/registry/vk.xml", .{vk_path})),
}).module("vulkan-zig");