diff --git a/pkgs/by-name/hy/hyprshell/package.nix b/pkgs/by-name/hy/hyprshell/package.nix index 9a7b6fecc9c6..4f8324668b57 100644 --- a/pkgs/by-name/hy/hyprshell/package.nix +++ b/pkgs/by-name/hy/hyprshell/package.nix @@ -7,6 +7,8 @@ gtk4, gtk4-layer-shell, hyprland, + gcc, + pixman, }: rustPlatform.buildRustPackage (finalAttrs: { @@ -32,6 +34,21 @@ rustPlatform.buildRustPackage (finalAttrs: { gtk4-layer-shell ]; + preFixup = '' + gappsWrapperArgs+=( + --prefix PATH : '${lib.makeBinPath [ gcc ]}' + --prefix CPATH : '${ + lib.makeIncludePath ( + hyprland.buildInputs + ++ [ + hyprland + pixman + ] + ) + }' + ) + ''; + meta = { description = "Modern GTK4-based window switcher and application launcher for Hyprland"; mainProgram = "hyprshell";