mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
system: default-zprofile: Sync with home zprofile.
The removed fields are already sourced in /etc/profile. * gnu/system/shadow.scm (%default-zprofile): Sync with default zprofile from (gnu home services shells). Change-Id: I419eadf636344e23e8fd2f7006efa81f45527756
This commit is contained in:
parent
1e8ac2c41b
commit
5ef5095ab1
1 changed files with 3 additions and 10 deletions
|
@ -174,17 +174,10 @@ (define %default-bash-profile
|
|||
|
||||
(define %default-zprofile
|
||||
(plain-file "zprofile" "\
|
||||
# Honor system-wide environment variables
|
||||
# Set up the system, user profile, and related variables.
|
||||
source /etc/profile
|
||||
|
||||
# Merge search-paths from multiple profiles, the order matters.
|
||||
eval \"$(guix package --search-paths \\
|
||||
-p $HOME/.config/guix/current \\
|
||||
-p $HOME/.guix-profile \\
|
||||
-p /run/current-system/profile)\"
|
||||
|
||||
# Prepend setuid programs.
|
||||
export PATH=/run/setuid-programs:$PATH
|
||||
# Set up the home environment profile.
|
||||
source ~/.profile
|
||||
"))
|
||||
|
||||
(define %default-xdefaults
|
||||
|
|
Loading…
Reference in a new issue