diff options
author | lassulus <git@lassul.us> | 2023-02-03 13:28:15 +0100 |
---|---|---|
committer | lassulus <git@lassul.us> | 2023-02-03 13:28:15 +0100 |
commit | 66586d70beeb8c02a6ad695303d30709c17a1c27 (patch) | |
tree | 91f208975d677a659ac14164c36034ac44d06738 /krebs/5pkgs/simple/flameshot-once/default.nix | |
parent | 2fa9f8601ed3f5c81316b9b780a03d414b4de9b3 (diff) | |
parent | af9e845e861b51d691102c1bc177dfe5e26fe63f (diff) |
Merge remote-tracking branch 'ni/master'
Diffstat (limited to 'krebs/5pkgs/simple/flameshot-once/default.nix')
-rw-r--r-- | krebs/5pkgs/simple/flameshot-once/default.nix | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/krebs/5pkgs/simple/flameshot-once/default.nix b/krebs/5pkgs/simple/flameshot-once/default.nix deleted file mode 100644 index 0524c2cfa..000000000 --- a/krebs/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 - ]; - } |