Skip to content

Commit 8c2cc7e

Browse files
committed
commit for ci build
1 parent 57b9240 commit 8c2cc7e

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

nix_test_env/docker_entrypoint.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,17 @@
22
set -euo pipefail
33

44
export __HM_SESS_VARS_SOURCED="${__HM_SESS_VARS_SOURCED:-0}"
5+
56
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+
612
source /root/.nix-profile/etc/profile.d/hm-session-vars.sh
713

14+
export PATH="/root/.nix-profile/bin:$PATH"
15+
816
if [[ $# -eq 0 ]]; then
917
set -- tail -f /dev/null
1018
fi

0 commit comments

Comments
 (0)