diff --git a/build.zig b/build.zig index 134ee70..bb361ab 100644 --- a/build.zig +++ b/build.zig @@ -47,7 +47,8 @@ pub fn build(b: *std.Build) void { exe.addIncludePath(.{ .cwd_relative = b.fmt("{s}/lib/glib-2.0/include", .{glib_path.?}) }); exe.addIncludePath(.{ .cwd_relative = "/usr/include/hailo" }); - exe.addLibraryPath(.{ .cwd_relative = "/usr/lib"}); + // exe.addLibraryPath(.{ .cwd_relative = "/usr/lib"}); + exe.addLibraryPath(.{ .cwd_relative = "/home/nixolas/Documents/hailort/build/hailort/libhailort/src"}); exe.linkSystemLibrary("hailort"); diff --git a/flake.nix b/flake.nix index c0e29e8..890db72 100644 --- a/flake.nix +++ b/flake.nix @@ -15,6 +15,10 @@ in { devShell = pkgs.mkShell { + packages = with pkgs; [ + valgrind + bat + ]; buildInputs = with pkgs; [ zig_exe glib