blob: 4cbc92a6355dd22598f58719ddf7bb2d144174b6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
{ pkgs }:
pkgs.symlinkJoin {
name = "flameshot-once-wrapper";
paths = [
(pkgs.writeDashBin "flameshot-once" ''
export PATH=${pkgs.stdenv.lib.makeBinPath [
pkgs.flameshot
pkgs.qt5.qtbase
]}
exec ${pkgs.haskellPackages.flameshot-once}/bin/flameshot-once "$@"
'')
pkgs.haskellPackages.flameshot-once
];
}
|