diff options
author | tv <tv@krebsco.de> | 2019-02-07 19:06:14 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2019-02-07 19:06:14 +0100 |
commit | a8fe746cc7f5471522a50d16d20c40e1a9b20369 (patch) | |
tree | 3c362c2c7d1c661129e9e0a1e40290a26c25d5d1 /krebs/5pkgs/simple/flameshot-once.nix | |
parent | f995e7b593b02e2194e9e0b6b2d985a2f035d83c (diff) |
flameshot-once: init at 1.0.0
Diffstat (limited to 'krebs/5pkgs/simple/flameshot-once.nix')
-rw-r--r-- | krebs/5pkgs/simple/flameshot-once.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/krebs/5pkgs/simple/flameshot-once.nix b/krebs/5pkgs/simple/flameshot-once.nix new file mode 100644 index 000000000..7550a4678 --- /dev/null +++ b/krebs/5pkgs/simple/flameshot-once.nix @@ -0,0 +1,14 @@ +{ pkgs }: + +pkgs.symlinkJoin { + name = "flameshot-once-wrapper"; + paths = [ + (pkgs.writeDashBin "flameshot-once" '' + export PATH=${pkgs.stdenv.lib.makeBinPath [ + pkgs.flameshot + ]}''${PATH:+:$PATH} + exec ${pkgs.haskellPackages.flameshot-once}/bin/flameshot-once "$@" + '') + pkgs.haskellPackages.flameshot-once + ]; +} |