tiscamera: move env variable(s) into env for structuredAttrs
This commit is contained in:
@@ -112,19 +112,24 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
"-DCMAKE_POLICY_VERSION_MINIMUM=3.10"
|
||||
];
|
||||
|
||||
env.CXXFLAGS = "-include cstdint";
|
||||
|
||||
doCheck = true;
|
||||
|
||||
# gstreamer tests requires, besides gst-plugins-bad, plugins installed by this expression.
|
||||
checkPhase = "ctest --force-new-ctest-process -E gstreamer";
|
||||
|
||||
# wrapGAppsHook3: make sure we add ourselves to the introspection
|
||||
# and gstreamer paths.
|
||||
GI_TYPELIB_PATH = "${placeholder "out"}/lib/girepository-1.0";
|
||||
GST_PLUGIN_SYSTEM_PATH_1_0 = "${placeholder "out"}/lib/gstreamer-1.0";
|
||||
env = {
|
||||
# wrapGAppsHook3: make sure we add ourselves to the introspection
|
||||
# and gstreamer paths.
|
||||
GI_TYPELIB_PATH = "${placeholder "out"}/lib/girepository-1.0";
|
||||
GST_PLUGIN_SYSTEM_PATH_1_0 = "${placeholder "out"}/lib/gstreamer-1.0";
|
||||
|
||||
QT_PLUGIN_PATH = lib.optionalString withGui "${qt5.qtbase.bin}/${qt5.qtbase.qtPluginPrefix}";
|
||||
QT_PLUGIN_PATH = lib.optionalString withGui "${qt5.qtbase.bin}/${qt5.qtbase.qtPluginPrefix}";
|
||||
|
||||
CXXFLAGS = toString [
|
||||
"-include"
|
||||
"cstdint"
|
||||
];
|
||||
};
|
||||
|
||||
dontWrapQtApps = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user