diff options
| -rw-r--r-- | .envrc | 1 | ||||
| -rw-r--r-- | flake.nix | 7 |
2 files changed, 8 insertions, 0 deletions
@@ -0,0 +1 @@ +use flake @@ -52,10 +52,17 @@ zlib zstd libbpf + vulkan-loader + openssl + pkgconf + #pkgconfig + openblas + libtorch ]; # Environment variables needed for compilation shellEnv = { + LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath buildInputs; LIBCLANG_PATH = "${pkgs.lib.getLib pkgs.llvmPackages.libclang}/lib"; BPF_CLANG = pkgs.lib.getExe pkgs.llvmPackages.clang; BPF_EXTRA_CFLAGS_PRE_INCL = pkgs.lib.concatStringsSep " " [ |
