diff --git a/pkgs/by-name/la/labwc/package.nix b/pkgs/by-name/la/labwc/package.nix index a3386c574a6c..6c9a6a2dc2a1 100644 --- a/pkgs/by-name/la/labwc/package.nix +++ b/pkgs/by-name/la/labwc/package.nix @@ -22,22 +22,28 @@ wayland, wayland-protocols, wayland-scanner, - wlroots_0_19, + wlroots_0_20, libxcb-wm, xwayland, }: stdenv.mkDerivation (finalAttrs: { pname = "labwc"; - version = "0.9.7"; + version = "0.20.0"; src = fetchFromGitHub { owner = "labwc"; repo = "labwc"; tag = finalAttrs.version; - hash = "sha256-7lq/lcaYSc+mJOTkjtwF0LjOAg4Uck3BwAc+2RIntYo="; + hash = "sha256-JSs1Xys0+XAPbxLv5pR91K0/e78mu5xLKu0HGdFFCEM="; }; + postPatch = '' + substituteInPlace meson.build \ + --replace-fail "install_dir: systemd.get_variable('systemduserunitdir')" \ + "install_dir: '$out/lib/systemd/user'" + ''; + outputs = [ "out" "doc" @@ -67,7 +73,7 @@ stdenv.mkDerivation (finalAttrs: { pango wayland wayland-protocols - wlroots_0_19 + wlroots_0_20 libxcb-wm xwayland ];