Fixing extra /bin/sh in the shell - noticed by Eelco Dolstra

svn path=/nixos/trunk/; revision=23021
This commit is contained in:
Michael Raskin 2010-08-07 11:16:06 +00:00
parent dec8079468
commit 3cab6d3e1c

View File

@ -13,7 +13,7 @@ let
default_xserver ${dmcfg.xserverBin}
xserver_arguments ${dmcfg.xserverArgs}
sessions ${pkgs.lib.concatStringsSep "," (dmcfg.session.names ++ ["custom"])}
login_cmd exec ${pkgs.stdenv.shell}/bin/sh ${dmcfg.session.script} "%session"
login_cmd exec ${pkgs.stdenv.shell} ${dmcfg.session.script} "%session"
halt_cmd ${config.system.build.upstart}/sbin/shutdown -h now
reboot_cmd ${config.system.build.upstart}/sbin/shutdown -r now
${if cfg.defaultUser != "" then "default_user " + cfg.defaultUser else ""}