From 3acf7e1fab3202b53a8cab01fe0dc90df51df120 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Na=C3=AFm=20Favier?= Date: Fri, 25 Mar 2022 10:25:18 +0100 Subject: [PATCH] install-nix.sh: ensure user profile comes before default profile in PATH --- lib/install-nix.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/install-nix.sh b/lib/install-nix.sh index de36af50..747772d9 100755 --- a/lib/install-nix.sh +++ b/lib/install-nix.sh @@ -78,8 +78,8 @@ if [[ $OSTYPE =~ darwin ]]; then fi # Set paths -echo "/nix/var/nix/profiles/per-user/$USER/profile/bin" >> "$GITHUB_PATH" echo "/nix/var/nix/profiles/default/bin" >> "$GITHUB_PATH" +echo "/nix/var/nix/profiles/per-user/$USER/profile/bin" >> "$GITHUB_PATH" if [[ $INPUT_NIX_PATH != "" ]]; then echo "NIX_PATH=${INPUT_NIX_PATH}" >> "$GITHUB_ENV"