git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #116647 from oxalica/fix/sddm-zsh-profile

sddm: source /etc/profile on wayland with zsh default shell

commit0ffaecb6f04404db2c739beb167a5942993cfd87 authorThomas Tuegel <ttuegel@mailbox.org> dateWed 24 Mar 2021, 16:17 (6 years ago) parentbd2cf109540900
1 file changed+7−1
pkgs/applications/display-managers/sddm/default.nix+7−1
pkgs/applications/display-managers/sddm/default.nix+7−1
@@ -1,4 +1,4 @@
1−{ mkDerivation, lib, fetchFromGitHub
1+{ mkDerivation, lib, fetchFromGitHub, fetchpatch
22, cmake, extra-cmake-modules, pkg-config, libxcb, libpthreadstubs
33, libXdmcp, libXau, qtbase, qtdeclarative, qtquickcontrols2, qttools, pam, systemd
44}:
@@ -19,6 +19,12 @@ in mkDerivation {
1919
2020 patches = [
2121 ./sddm-ignore-config-mtime.patch
22+ # Load `/etc/profile` for `environment.variables` with zsh default shell.
23+ # See: https://github.com/sddm/sddm/pull/1382
24+ (fetchpatch {
25+ url = "https://github.com/sddm/sddm/commit/e1dedeeab6de565e043f26ac16033e613c222ef9.patch";
26+ sha256 = "sha256-OPyrUI3bbH+PGDBfoL4Ohb4wIvmy9TeYZhE0JxR/D58=";
27+ })
2228 ];
2329
2430 postPatch =