summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-12-02 03:02:29 +0000
committertv <tv@krebsco.de>2026-12-02 03:07:03 +0000
commit7a188d5d60aff4ba770cee60cc8f6bad9f6465c6 (patch)
tree667d5b8ee14643f058885dc271abd0f6eccce05c
parent46d76a437b159e46ec8c9cf6db641078ec83edb3 (diff)
flameshot-once: build flameshot with imgur
Since flameshot 13, the uploader and its settings are compiled in only with ENABLE_IMGUR, which nixpkgs doesn't set: the imgur patch and flameshot-once's imgur settings had nothing to act on.
-rw-r--r--pkgs/simple/flameshot-once/flameshot/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/simple/flameshot-once/flameshot/default.nix b/pkgs/simple/flameshot-once/flameshot/default.nix
index 417ef1da..5bd8eac5 100644
--- a/pkgs/simple/flameshot-once/flameshot/default.nix
+++ b/pkgs/simple/flameshot-once/flameshot/default.nix
@@ -9,6 +9,9 @@ super.flameshot.overrideAttrs (old: rec {
rev = "tags/v15.0.0";
hash = "sha256-5oaG8EW3QS8jX0V7YJHjMk5W4kaahm+SZ/Rl2xkLGbM=";
};
+ cmakeFlags = old.cmakeFlags ++ [
+ (self.lib.cmakeBool "ENABLE_IMGUR" true)
+ ];
# Instead of nixpkgs' patches, made for 13.3.0: its load-missing-deps
# for 15, without the CVE-2026-62294 fix, which 15 has, and the
# macos-build one, which Linux doesn't need.
[cgit] Unable to lock slot /tmp/cgit/11100000.lock: Permission denied (13)