niri: add updateScript

This commit is contained in:
Gavin John 2024-07-03 19:59:58 +00:00
parent ae53ca09fc
commit 75ecdf96c1
No known key found for this signature in database
GPG Key ID: 792E158CDD33C3EE

View File

@ -1,6 +1,7 @@
{ lib
, rustPlatform
, fetchFromGitHub
, nix-update-script
, pkg-config
, libxkbcommon
, pango
@ -76,6 +77,8 @@ rustPlatform.buildRustPackage rec {
install -Dm0644 resources/niri{-shutdown.target,.service} -t $out/share/systemd/user
'';
passthru.updateScript = nix-update-script { };
meta = with lib; {
description = "Scrollable-tiling Wayland compositor";
homepage = "https://github.com/YaLTeR/niri";