Skip to content

Commit

Permalink
Fix CI: change root to env HOME - 1
Browse files Browse the repository at this point in the history
  • Loading branch information
ryhkml committed Jan 23, 2025
1 parent 6740f12 commit 4dffea4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ jobs:
run: |
sh <(curl -L https://nixos.org/nix/install) --no-daemon
sleep 1
. /root/.nix-profile/etc/profile.d/nix.sh
. $HOME/.nix-profile/etc/profile.d/nix.sh
nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager
nix-channel --add https://github.com/nix-community/nixGL/archive/main.tar.gz nixgl
nix-channel --update
nix-shell '<home-manager>' -A install
echo ". /root/.nix-profile/etc/profile.d/nix.sh" | tee -a ~/.bashrc > /dev/null
echo ". \"\$HOME\"/.nix-profile/etc/profile.d/nix.sh" | tee -a ~/.bashrc > /dev/null
source ~/.bashrc
nix --version
home-manager --version
Expand Down

0 comments on commit 4dffea4

Please sign in to comment.