From 1379cbe985e572093689619642924387d9c957c9 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Mon, 13 Dec 2021 19:01:12 +0100 Subject: [PATCH] gtk4: move broadwayd into out It is convenient to have it in PATH by default and does not seem to increase the output size much (+0.2M). Just as was done to GTK 3 in https://github.com/NixOS/nixpkgs/pull/116053 --- pkgs/development/libraries/gtk/4.x.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/libraries/gtk/4.x.nix b/pkgs/development/libraries/gtk/4.x.nix index db682d99dca0..eaf6d5bf1b26 100644 --- a/pkgs/development/libraries/gtk/4.x.nix +++ b/pkgs/development/libraries/gtk/4.x.nix @@ -202,6 +202,9 @@ stdenv.mkDerivation rec { for f in $dev/bin/gtk4-encode-symbolic-svg; do wrapProgram $f --prefix XDG_DATA_DIRS : "${shared-mime-info}/share" done + '' + lib.optionalString broadwaySupport '' + # Broadway daemon + moveToOutput bin/gtk4-broadwayd "$out" ''; # Wrap demos