about summary refs log tree commit diff
path: root/pkgs/applications/window-managers/sway/wrapper.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/window-managers/sway/wrapper.nix')
-rw-r--r--pkgs/applications/window-managers/sway/wrapper.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/window-managers/sway/wrapper.nix b/pkgs/applications/window-managers/sway/wrapper.nix
index 42384fa06ae2..b4e9289f19a5 100644
--- a/pkgs/applications/window-managers/sway/wrapper.nix
+++ b/pkgs/applications/window-managers/sway/wrapper.nix
@@ -16,7 +16,7 @@ assert extraSessionCommands != "" -> withBaseWrapper;
 with lib;
 
 let
-  sway = sway-unwrapped.override { inherit isNixOS enableXWayland; };
+  sway = sway-unwrapped.overrideAttrs (oa: { inherit isNixOS enableXWayland; });
   baseWrapper = writeShellScriptBin "sway" ''
      set -o errexit
      if [ ! "$_SWAY_WRAPPER_ALREADY_EXECUTED" ]; then