mirror of
https://github.com/hyprwm/xdg-desktop-portal-hyprland.git
synced 2024-11-25 23:45:58 +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,
|
pkg-config,
|
||||||
wayland-protocols,
|
wayland-protocols,
|
||||||
wayland-scanner,
|
wayland-scanner,
|
||||||
grim,
|
|
||||||
hyprland-protocols,
|
hyprland-protocols,
|
||||||
inih,
|
inih,
|
||||||
libdrm,
|
libdrm,
|
||||||
mesa,
|
mesa,
|
||||||
pipewire,
|
pipewire,
|
||||||
slurp,
|
|
||||||
systemd,
|
systemd,
|
||||||
wayland,
|
wayland,
|
||||||
libsForQt5,
|
libsForQt5,
|
||||||
|
@ -44,9 +42,7 @@ in
|
||||||
];
|
];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
ln -s ${hyprland-share-picker.outPath}/bin $out/
|
wrapProgram $out/libexec/xdg-desktop-portal-hyprland --prefix PATH ":" ${lib.makeBinPath [hyprland-share-picker]}
|
||||||
|
|
||||||
wrapProgram $out/libexec/xdg-desktop-portal-hyprland --prefix PATH ":" ${lib.makeBinPath [grim slurp]}
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
qtbase,
|
qtbase,
|
||||||
makeShellWrapper,
|
makeShellWrapper,
|
||||||
wrapQtAppsHook,
|
wrapQtAppsHook,
|
||||||
grim,
|
|
||||||
slurp,
|
slurp,
|
||||||
version ? "git",
|
version ? "git",
|
||||||
...
|
...
|
||||||
|
@ -23,6 +22,6 @@ stdenv.mkDerivation {
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
wrapProgramShell $out/bin/hyprland-share-picker \
|
wrapProgramShell $out/bin/hyprland-share-picker \
|
||||||
"''${qtWrapperArgs[@]}" \
|
"''${qtWrapperArgs[@]}" \
|
||||||
--prefix PATH ":" ${lib.makeBinPath [grim slurp]}
|
--prefix PATH ":" ${lib.makeBinPath [slurp]}
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue