about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2019-08-28 11:07:19 -0400
committerGitHub <noreply@github.com>2019-08-28 11:07:19 -0400
commitb8f9e09ad17eac2fb4c13105638a86d98281f546 (patch)
tree57dd96522601a2ff4ded29d364f94c7b6cb644cc /nixos
parentb6d906732c823b0e5f55b3a9309a9cc120c977aa (diff)
parenta23798e4788c093f34df3d6e547ce3be5ce71b69 (diff)
downloadnixlib-b8f9e09ad17eac2fb4c13105638a86d98281f546.tar
nixlib-b8f9e09ad17eac2fb4c13105638a86d98281f546.tar.gz
nixlib-b8f9e09ad17eac2fb4c13105638a86d98281f546.tar.bz2
nixlib-b8f9e09ad17eac2fb4c13105638a86d98281f546.tar.lz
nixlib-b8f9e09ad17eac2fb4c13105638a86d98281f546.tar.xz
nixlib-b8f9e09ad17eac2fb4c13105638a86d98281f546.tar.zst
nixlib-b8f9e09ad17eac2fb4c13105638a86d98281f546.zip
Merge pull request #67260 from pstch/fix/xsession-allow-session-choice
nixos/x11: provide selected session to custom session
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/x11/display-managers/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/x11/display-managers/default.nix b/nixos/modules/services/x11/display-managers/default.nix
index 0e87e6adbab8..bf6b048654b3 100644
--- a/nixos/modules/services/x11/display-managers/default.nix
+++ b/nixos/modules/services/x11/display-managers/default.nix
@@ -109,7 +109,7 @@ let
 
       # Allow the user to setup a custom session type.
       if test -x ~/.xsession; then
-          exec ~/.xsession
+          eval exec ~/.xsession "$@"
       fi
 
       if test "$1"; then