NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.3k stars 13.54k forks source link

Package request: xwayland-satellite #315111

Open jonseppanen opened 3 months ago

jonseppanen commented 3 months ago

Project description

This package allows running x-org-only apps in a wayland-only environment rootfully. Like steam in niri, for example.

Metadata


Add a :+1: reaction to issues you find important.

tulilirockz commented 2 months ago

Requires #269138

KiaraGrouwstra commented 2 months ago

this seems added in d38f87d88a4fc5a63a9162157a086c377e96ad2d.

tv42 commented 1 month ago

The integration tests work fine in the nix build chroot, you just need xwayland in nativeBuildInputs and

          preCheck = ''
            # Integration tests want to actually talk Wayland
over unix domain sockets.
            export XDG_RUNTIME_DIR="/tmp"
          '';
tv42 commented 1 month ago

Also, the way it's packaged in d38f87d88a4fc5a63a9162157a086c377e96ad2d makes xwayland-satellite crap out unless you by chance happen to have Xwayland in PATH. You want something like

          postInstall = ''
            wrapProgram $out/bin/xwayland-satellite \
              --prefix PATH : ${pkgs.lib.makeBinPath (with pkgs; [ xwayland ])}
          '';