summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRutherther <rutherther@ditigal.xyz>2025-12-25 22:20:05 +0100
committerRutherther <rutherther@ditigal.xyz>2026-01-04 12:46:57 +0100
commitf75737f42c9d5aaa19d5c334768dc03a92c53f6d (patch)
tree71a0ff7824564b45bc6ceba28472bef92be33b1b /gnu
parentcf005b5107f6b93a8c5cca09d34c4038f7bf55ef (diff)
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 50a2d73eac1577e35b526d3fc91423b97e581aef. * gnu/system.scm (operating-system-etc-services): Clean up GUIX_PROFILE. Change-Id: Ia5bfb1907fa7ae887ac0336e6cd1922e611b6bdf Signed-off-by: Rutherther <rutherther@ditigal.xyz> Merges: #5119 Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/system.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/system.scm b/gnu/system.scm
index ff00e318cc5..d3b0cd30dad 100644
--- a/gnu/system.scm
+++ b/gnu/system.scm
@@ -1113,6 +1113,9 @@ do
1113 fi 1113 fi
1114done 1114done
1115 1115
1116# Clean up after ourselves.
1117unset GUIX_PROFILE
1118
1116# Prepend privileged programs. 1119# Prepend privileged programs.
1117export PATH=/run/privileged/bin:$PATH 1120export PATH=/run/privileged/bin:$PATH
1118 1121