summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorMichael Rohleder <mike@rohleder.de>2021-05-01 01:29:00 +0200
committerLudovic Courtès <ludo@gnu.org>2021-05-03 18:26:49 +0200
commit62b4cc14f882553a824d32848a6ebe503fd11320 (patch)
tree3d594c03056191a6bb9104f2c41cd1259a1e52f2 /gnu
parent8e637fb54866a7dc5fa1f9b6e5f61291a1a87d39 (diff)
downloadguix-62b4cc14f882553a824d32848a6ebe503fd11320.tar.gz
gnu: chessx: Disable online version check by default.
* gnu/packages/games.scm (chessx)[arguments]: Add phase to disable
the online version check by default.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/games.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index f12f2bc53d..41d8ea7bde 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -11907,6 +11907,12 @@ and chess engines.")
            (lambda _
              (setenv "QT_RCC_SOURCE_DATE_OVERRIDE" "1")
              #t))
+         (add-after 'make-qt-deterministic 'disable-versioncheck
+           (lambda _
+             (substitute* "src/database/settings.cpp"
+               (("\"/General/onlineVersionCheck\", true")
+                "\"/General/onlineVersionCheck\", false"))
+             #t))
          (replace 'configure
            (lambda _
              (invoke "qmake")