mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 03:55:08 -06:00
system: operating-system-etc-service: Unset GUIX_PROFILE.
This seems to have been omitted, currently users on default Guix System
installations do have GUIX_PROFILE set to their ~/.config/guix/current.
This is wrong and can lead to some surprises when sourcing etc/profile
of a Guix profile.
Followup of 50a2d73eac.
* gnu/system.scm (operating-system-etc-services): Clean up GUIX_PROFILE.
Change-Id: Ia5bfb1907fa7ae887ac0336e6cd1922e611b6bdf
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Merges: #5119
This commit is contained in:
parent
1e6ccfe65f
commit
06a2b7bd97
1 changed files with 3 additions and 0 deletions
|
|
@ -1113,6 +1113,9 @@ do
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# Clean up after ourselves.
|
||||||
|
unset GUIX_PROFILE
|
||||||
|
|
||||||
# Prepend privileged programs.
|
# Prepend privileged programs.
|
||||||
export PATH=/run/privileged/bin:$PATH
|
export PATH=/run/privileged/bin:$PATH
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue