summaryrefslogtreecommitdiffstats
path: root/pkgs/simple
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
commit0d49e1dec786532fb212e0ae6a9b9a196cde22ed (patch)
tree3f41181134e627236bfc5958216164327910124d /pkgs/simple
parentb8caf0c08ab335051774099aac67bc0b1e5386c0 (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.
Diffstat (limited to 'pkgs/simple')
-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.