rpi-imager: disable telemetry by default

This commit is contained in:
Anthony Roussel 2023-08-23 20:24:23 +02:00
parent 996dbb160b
commit 4fce50f63b
No known key found for this signature in database
GPG key ID: 9DC4987B1A55E75E

View file

@ -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