mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-19 11:23:29 +00:00
media-downloader: disable automatically update
This commit is contained in:
parent
d7dcb48bf4
commit
8a862af461
@ -21,6 +21,14 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
hash = "sha256-ykPYxRgzKZrA0KwS1FoxZOkSL+7TbLgy0yLfs7Iqpf4=";
|
||||
};
|
||||
|
||||
# Disable automatically updating extensions when starting the program because this will
|
||||
# invalidate the dependence on extensions and may cause potential security issues
|
||||
# Can still be enabled in Configure > Actions At Startup
|
||||
postPatch = ''
|
||||
substituteInPlace src/settings.cpp \
|
||||
--replace-fail '"ShowVersionInfoAndAutoDownloadUpdates",true' '"ShowVersionInfoAndAutoDownloadUpdates",false' \
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
libsForQt5.wrapQtAppsHook
|
||||
|
Loading…
Reference in New Issue
Block a user