Unverified Commit d942241d authored by h7x4's avatar h7x4 Committed by GitHub
Browse files

hyprshell: wrap program (#448360)

parents 216904af 611c7791
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
@@ -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";