git.iko.soy/typeable/nixpkgs
on master help sign in
sddm: source /etc/profile on wayland with zsh default shell
commit9540900fabde516271ee2514a53d9a8197a0f070 authoroxalica <oxalicc@pm.me> dateThu 18 Mar 2021, 01:25 (6 years ago) parent266dc8c
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 =