diff options
author | lassulus <git@lassul.us> | 2023-02-09 09:39:02 +0100 |
---|---|---|
committer | lassulus <git@lassul.us> | 2023-02-09 09:39:02 +0100 |
commit | 4dc160536675b19a6e3029d142e1824f1d5a9272 (patch) | |
tree | e7e9b05b91a893a35ee3000cced81553a574bc48 /tv/5pkgs/simple/flameshot-once/default.nix | |
parent | 5b768d2b0050507037584f3b7f4a5cf90d627c57 (diff) | |
parent | 9a52edeea22f686c189933de0538ab69a3c054bd (diff) |
Merge remote-tracking branch 'ni/master'
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 0524c2cfa..000000000 --- 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 - ]; - } |