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