We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57b9240 commit 8c2cc7eCopy full SHA for 8c2cc7e
1 file changed
nix_test_env/docker_entrypoint.sh
@@ -2,9 +2,17 @@
2
set -euo pipefail
3
4
export __HM_SESS_VARS_SOURCED="${__HM_SESS_VARS_SOURCED:-0}"
5
+
6
source /root/.nix-profile/etc/profile.d/nix.sh
7
8
+if command -v home-manager &>/dev/null; then
9
+ home-manager switch || echo "home-manager switch fail"
10
+fi
11
12
source /root/.nix-profile/etc/profile.d/hm-session-vars.sh
13
14
+export PATH="/root/.nix-profile/bin:$PATH"
15
16
if [[ $# -eq 0 ]]; then
17
set -- tail -f /dev/null
18
fi
0 commit comments