Merge pull request #116647 from oxalica/fix/sddm-zsh-profile
sddm: source /etc/profile on wayland with zsh default shell
This commit is contained in:
commit
0ffaecb6f0
|
@ -1,4 +1,4 @@
|
||||||
{ mkDerivation, lib, fetchFromGitHub
|
{ mkDerivation, lib, fetchFromGitHub, fetchpatch
|
||||||
, cmake, extra-cmake-modules, pkg-config, libxcb, libpthreadstubs
|
, cmake, extra-cmake-modules, pkg-config, libxcb, libpthreadstubs
|
||||||
, libXdmcp, libXau, qtbase, qtdeclarative, qtquickcontrols2, qttools, pam, systemd
|
, libXdmcp, libXau, qtbase, qtdeclarative, qtquickcontrols2, qttools, pam, systemd
|
||||||
}:
|
}:
|
||||||
|
@ -19,6 +19,12 @@ in mkDerivation {
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
./sddm-ignore-config-mtime.patch
|
./sddm-ignore-config-mtime.patch
|
||||||
|
# Load `/etc/profile` for `environment.variables` with zsh default shell.
|
||||||
|
# See: https://github.com/sddm/sddm/pull/1382
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/sddm/sddm/commit/e1dedeeab6de565e043f26ac16033e613c222ef9.patch";
|
||||||
|
sha256 = "sha256-OPyrUI3bbH+PGDBfoL4Ohb4wIvmy9TeYZhE0JxR/D58=";
|
||||||
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch =
|
postPatch =
|
||||||
|
|
Loading…
Reference in a new issue