mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 17:23:34 +00:00
hyprshot: include hyprpicker optional dependency (#349829)
This commit is contained in:
commit
d316d6dd08
@ -7,6 +7,8 @@
|
||||
, slurp
|
||||
, wl-clipboard
|
||||
, libnotify
|
||||
, withFreeze ? true
|
||||
, hyprpicker
|
||||
, makeWrapper
|
||||
}:
|
||||
|
||||
@ -28,9 +30,9 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
|
||||
install -Dm755 hyprshot -t "$out/bin"
|
||||
wrapProgram "$out/bin/hyprshot" \
|
||||
--prefix PATH ":" ${lib.makeBinPath [
|
||||
--prefix PATH ":" ${lib.makeBinPath ([
|
||||
hyprland jq grim slurp wl-clipboard libnotify
|
||||
]}
|
||||
] ++ lib.optionals withFreeze [ hyprpicker ])}
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user