From 668ba741faecb41c5615601ec967f136425df03f Mon Sep 17 00:00:00 2001 From: linsui Date: Wed, 6 Sep 2023 20:05:49 +0800 Subject: [PATCH] jabref: disable check update --- pkgs/applications/office/jabref/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/applications/office/jabref/default.nix b/pkgs/applications/office/jabref/default.nix index 5146353dff46..dffaf7940678 100644 --- a/pkgs/applications/office/jabref/default.nix +++ b/pkgs/applications/office/jabref/default.nix @@ -93,6 +93,11 @@ stdenv.mkDerivation rec { 'org.jabref:afterburner.fx:${versionReplace.afterburner.pin}' \ --replace 'com.tobiasdiez:easybind:${versionReplace.easybind.snapshot}' \ 'com.tobiasdiez:easybind:${versionReplace.easybind.pin}' + + # Disable update check + substituteInPlace src/main/java/org/jabref/preferences/JabRefPreferences.java \ + --replace 'VERSION_CHECK_ENABLED, Boolean.TRUE' \ + 'VERSION_CHECK_ENABLED, Boolean.FALSE' ''; preBuild = ''