NixOS/nixpkgs@55819e6c861f53450030eea832a76583a6786370: allows children Zsh shells to set their fpath.
Without this fix, a child shell opened with a command such as zsh -il or nix develop -c zsh only contains Zsh's default fpath entry, and none of Nix's profiles fpath entries.
Before, opening a child shell causes Nix's fpath entries to get skipped:
NixOS/nixpkgs@7d84dbdf5b91439f798363559310d86b21bfa86c: prevents noisy failures upon loading /etc/zshenv and /etc/zprofile when the shell has the nounset option set.
/etc/zshenv:6: __ETC_ZSHENV_SOURCED: parameter not set
/etc/zshrc:5: __ETC_ZSHRC_SOURCED: parameter not set
Follow up to #1066
Backports the following two commits from NixOS:
NixOS/nixpkgs@55819e6c861f53450030eea832a76583a6786370: allows children Zsh shells to set their
fpath
.Without this fix, a child shell opened with a command such as
zsh -il
ornix develop -c zsh
only contains Zsh's default fpath entry, and none of Nix's profiles fpath entries.Before, opening a child shell causes Nix's
fpath
entries to get skipped:After,
fpath
is properly re-populated with Nix's entries:NixOS/nixpkgs@7d84dbdf5b91439f798363559310d86b21bfa86c: prevents noisy failures upon loading
/etc/zshenv
and/etc/zprofile
when the shell has thenounset
option set.