libcamera: move env vars into env for structuredAttrs

This commit is contained in:
Stefan Frijters
2026-02-19 17:39:02 +01:00
parent d009fcb371
commit 916e0bcc69
+6 -4
View File
@@ -123,11 +123,13 @@ stdenv.mkDerivation rec {
"-Ddocumentation=disabled"
];
# Fixes error on a deprecated declaration
env.NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations";
env = {
# Fixes error on a deprecated declaration
NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations";
# Silence fontconfig warnings about missing config
FONTCONFIG_FILE = makeFontsConf { fontDirectories = [ ]; };
# Silence fontconfig warnings about missing config
FONTCONFIG_FILE = makeFontsConf { fontDirectories = [ ]; };
};
meta = {
description = "Open source camera stack and framework for Linux, Android, and ChromeOS";