diff options
author | tv <tv@krebsco.de> | 2023-02-04 21:52:14 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2023-02-05 02:21:10 +0100 |
commit | 1d1ab286f4fda352d3e598a4b2addc3992c02e85 (patch) | |
tree | 8a868de160d5bd22523da7dfe3d7f60d9725c469 /tv/5pkgs/simple/flameshot-once/default.nix | |
parent | 1600cd00985d819528f811d0d4d6929fd395a56d (diff) |
flameshot-once: reinit with flameshot 12.1.0-pre
Diffstat (limited to 'tv/5pkgs/simple/flameshot-once/default.nix')
-rw-r--r-- | tv/5pkgs/simple/flameshot-once/default.nix | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/tv/5pkgs/simple/flameshot-once/default.nix b/tv/5pkgs/simple/flameshot-once/default.nix deleted file mode 100644 index 0524c2c..0000000 --- a/tv/5pkgs/simple/flameshot-once/default.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ pkgs, stockholm, ... }@args: -with stockholm.lib; - -let - # config cannot be declared in the input attribute set because that would - # cause callPackage to inject the wrong config. Instead, get it from ... - # via args. - config = args.config or {}; -in - - pkgs.symlinkJoin { - name = "flameshot-once-wrapper"; - paths = [ - (pkgs.writeDashBin "flameshot-once" '' - export PATH=${makeBinPath [ - pkgs.flameshot - pkgs.qt5.qtbase - pkgs.xclip - pkgs.xwaitforwindow - ]} - ${optionalString (config != null) /* sh */ '' - . ${import ./profile.nix { inherit config pkgs; }} - ''} - exec ${pkgs.haskellPackages.flameshot-once}/bin/flameshot-once "$@" - '') - pkgs.haskellPackages.flameshot-once - ]; - } |