aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--flake.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index bdecd81..1a6b43b 100644
--- a/flake.nix
+++ b/flake.nix
@@ -67,6 +67,8 @@
pkgs.llvmPackages_latest.clang-unwrapped.version;
in {
FFMPEG_LOCATION = "${pkgs.lib.getExe pkgs.ffmpeg}";
+
+ # These are needed for `libmpv` to compile.
LIBCLANG_PATH = "${pkgs.llvmPackages_latest.clang-unwrapped.lib}/lib/libclang.so";
LIBCLANG_INCLUDE_PATH = "${pkgs.llvmPackages_latest.clang-unwrapped.lib}/lib/clang/${clang_version}/include";
C_INCLUDE_PATH = "${pkgs.glibc.dev}/include";