From 0d49e1dec786532fb212e0ae6a9b9a196cde22ed Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 2 Dec 2026 03:02:29 +0000 Subject: 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. --- pkgs/simple/flameshot-once/flameshot/default.nix | 3 +++ 1 file changed, 3 insertions(+) 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 v1.3.1