@@ -9,14 +9,6 @@
|
||||
...
|
||||
}:
|
||||
{
|
||||
nixpkgs.overlays = [
|
||||
(final: prev: {
|
||||
qalculate-gtk = prev.qalculate-gtk.overrideAttrs (oldAttrs: {
|
||||
patches = oldAttrs.patches or [ ] ++ [ ./skip-save-prefs.patch ];
|
||||
});
|
||||
})
|
||||
];
|
||||
|
||||
environment.persistence."/cache"."${home}/.config/qalculate/qalculate-gtk.history" = { };
|
||||
|
||||
home-manager.users.${user} = {
|
||||
|
@@ -1,12 +0,0 @@
|
||||
diff --git a/src/callbacks.cc b/src/callbacks.cc
|
||||
index 14ab38a..5f73451 100644
|
||||
--- a/src/callbacks.cc
|
||||
+++ b/src/callbacks.cc
|
||||
@@ -23405,6 +23405,7 @@ bool save_history(bool allow_cancel) {
|
||||
*/
|
||||
|
||||
bool save_preferences(bool mode, bool allow_cancel) {
|
||||
+ return true;
|
||||
|
||||
FILE *file = NULL;
|
||||
string homedir = getLocalDir();
|
Reference in New Issue
Block a user