that was it!
I changed it to
const std = @import("std");
pub fn build(b: *std.Build) void {
const target = std.zig.CrossTarget{ .os_tag = .linux, .cpu_arch = .x86_64 };
const exe = b.addExecutable(.{
.name = "ncurses_interaction",
.root_source_file = .{ .path = "ncurses_interaction.zig" },
.target = target,
});
exe.addLibraryPath(.{ .path = "/nix/store/lhfi31nbyv62rw5szbfrh3pdnvcfgxmc-ncurses-6.4/lib" });
exe.linkLibC();
exe.linkSystemLibrary("ncursesw");
b.installArtifact(exe);
}
I now have a zig-out!
Thank you so much!