From 95f001206fd289959940fa1f6cc10993841818cb Mon Sep 17 00:00:00 2001 From: Andrew Marshall Date: Sun, 5 Jun 2022 10:13:08 -0400 Subject: [PATCH] sway: Disable strictDeps for wrapper strictDeps breaks `withGtkWrapper` as, it seems, the setup hook does not run and `GSETTINGS_SCHEMA_PATH` does not get set so `XDG_DATA_DIRS` is not updated. Probably other things are broken by it as well. See also probably related https://github.com/NixOS/nixpkgs/issues/56943 (mentioned from `doc/languages-frameworks/gnome.section.md`). This partially reverts commit da4707d6366e0784116102743c58c89d98b7ac68. --- pkgs/applications/window-managers/sway/wrapper.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/window-managers/sway/wrapper.nix b/pkgs/applications/window-managers/sway/wrapper.nix index 1eb9693379e6..42384fa06ae2 100644 --- a/pkgs/applications/window-managers/sway/wrapper.nix +++ b/pkgs/applications/window-managers/sway/wrapper.nix @@ -37,7 +37,7 @@ in symlinkJoin { paths = (optional withBaseWrapper baseWrapper) ++ [ sway ]; - strictDeps = true; + strictDeps = false; nativeBuildInputs = [ makeWrapper ] ++ (optional withGtkWrapper wrapGAppsHook);