mirror of
https://github.com/hyprwm/xdg-desktop-portal-hyprland.git
synced 2024-12-22 17:59:47 +01:00
nix: fix picker not found
This commit is contained in:
parent
ac442cc1b2
commit
af840a9e09
2 changed files with 2 additions and 7 deletions
|
@ -8,13 +8,11 @@
|
|||
pkg-config,
|
||||
wayland-protocols,
|
||||
wayland-scanner,
|
||||
grim,
|
||||
hyprland-protocols,
|
||||
inih,
|
||||
libdrm,
|
||||
mesa,
|
||||
pipewire,
|
||||
slurp,
|
||||
systemd,
|
||||
wayland,
|
||||
libsForQt5,
|
||||
|
@ -44,9 +42,7 @@ in
|
|||
];
|
||||
|
||||
postInstall = ''
|
||||
ln -s ${hyprland-share-picker.outPath}/bin $out/
|
||||
|
||||
wrapProgram $out/libexec/xdg-desktop-portal-hyprland --prefix PATH ":" ${lib.makeBinPath [grim slurp]}
|
||||
wrapProgram $out/libexec/xdg-desktop-portal-hyprland --prefix PATH ":" ${lib.makeBinPath [hyprland-share-picker]}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
qtbase,
|
||||
makeShellWrapper,
|
||||
wrapQtAppsHook,
|
||||
grim,
|
||||
slurp,
|
||||
version ? "git",
|
||||
...
|
||||
|
@ -23,6 +22,6 @@ stdenv.mkDerivation {
|
|||
postInstall = ''
|
||||
wrapProgramShell $out/bin/hyprland-share-picker \
|
||||
"''${qtWrapperArgs[@]}" \
|
||||
--prefix PATH ":" ${lib.makeBinPath [grim slurp]}
|
||||
--prefix PATH ":" ${lib.makeBinPath [slurp]}
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue