From edfd59b795cd752c36d2dae60870cffcd23d3fb1 Mon Sep 17 00:00:00 2001 From: as3ii Date: Tue, 17 Feb 2026 15:11:16 +0100 Subject: [PATCH] xwayland-satellite: 0.8.0 -> 0.8.1 This also adds the new man page --- pkgs/by-name/xw/xwayland-satellite/package.nix | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/xw/xwayland-satellite/package.nix b/pkgs/by-name/xw/xwayland-satellite/package.nix index dffbad27d2ab..9c8ea3f12b3f 100644 --- a/pkgs/by-name/xw/xwayland-satellite/package.nix +++ b/pkgs/by-name/xw/xwayland-satellite/package.nix @@ -1,6 +1,7 @@ { lib, fetchFromGitHub, + installShellFiles, libxcb, makeBinaryWrapper, nix-update-script, @@ -13,13 +14,13 @@ rustPlatform.buildRustPackage (finalAttrs: { pname = "xwayland-satellite"; - version = "0.8"; + version = "0.8.1"; src = fetchFromGitHub { owner = "Supreeeme"; repo = "xwayland-satellite"; tag = "v${finalAttrs.version}"; - hash = "sha256-Qz1WvGdawnoz4dG3JtCtlParmdQHM5xu6osnXeVOqYI="; + hash = "sha256-BUE41HjLIGPjq3U8VXPjf8asH8GaMI7FYdgrIHKFMXA="; }; postPatch = '' @@ -27,9 +28,10 @@ rustPlatform.buildRustPackage (finalAttrs: { --replace-fail '/usr/local/bin' "$out/bin" ''; - cargoHash = "sha256-HGrMjNIsUqh8AFtSABk615x4B9ygrVEn26V0G1kX/nA="; + cargoHash = "sha256-16L6gsvze+m7XCJlOA1lsPNELE3D364ef2FTdkh0rVY="; nativeBuildInputs = [ + installShellFiles makeBinaryWrapper pkg-config rustPlatform.bindgenHook @@ -43,10 +45,18 @@ rustPlatform.buildRustPackage (finalAttrs: { buildNoDefaultFeatures = true; buildFeatures = lib.optional withSystemd "systemd"; + outputs = [ + "out" + "man" + ]; + # All integration tests require a running display server doCheck = false; - postInstall = lib.optionalString withSystemd '' + postInstall = '' + installManPage --name xwayland-satellite.1 xwayland-satellite.man + '' + + lib.optionalString withSystemd '' install -Dm0644 resources/xwayland-satellite.service -t $out/lib/systemd/user '';