rpi-imager: disable telemetry by default
This commit is contained in:
parent
996dbb160b
commit
4fce50f63b
|
@ -13,6 +13,7 @@
|
||||||
, qtquickcontrols2
|
, qtquickcontrols2
|
||||||
, qtgraphicaleffects
|
, qtgraphicaleffects
|
||||||
, nix-update-script
|
, nix-update-script
|
||||||
|
, enableTelemetry ? false
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -32,6 +33,12 @@ stdenv.mkDerivation rec {
|
||||||
wrapQtAppsHook
|
wrapQtAppsHook
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# Disable telemetry and update check.
|
||||||
|
cmakeFlags = lib.optionals (!enableTelemetry) [
|
||||||
|
"-DENABLE_CHECK_VERSION=OFF"
|
||||||
|
"-DENABLE_TELEMETRY=OFF"
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
curl
|
curl
|
||||||
libarchive
|
libarchive
|
||||||
|
|
Loading…
Reference in a new issue