From 2ca27ba780bb072e9fb80565684ad81c2664f9d0 Mon Sep 17 00:00:00 2001 From: Michael Hoang Date: Tue, 19 Nov 2024 12:50:32 +1100 Subject: [PATCH] ci: source `/etc/bashrc` instead of `/etc/static/bashrc` This should no longer be necessary after #687, as we can be sure that if activation succeeded, that `/etc/bashrc` points to `/etc/static/bashrc`. --- .github/workflows/test.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d26e0519..6e06117b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -63,7 +63,7 @@ jobs: -I darwin-config=$HOME/.config/nix-darwin/configuration.nix - name: Switch to new configuration run: | - . /etc/static/bashrc + . /etc/bashrc /usr/bin/sed -i.bak \ "s/pkgs.vim/pkgs.hello/" \ @@ -119,7 +119,7 @@ jobs: -I darwin-config=$HOME/.config/nix-darwin/configuration.nix - name: Switch to new configuration run: | - . /etc/static/bashrc + . /etc/bashrc /usr/bin/sed -i.bak \ "s/pkgs.vim/pkgs.hello/" \ @@ -173,7 +173,7 @@ jobs: --override-input nixpkgs nixpkgs/${{ env.CURRENT_STABLE_CHANNEL }} - name: Switch to new configuration run: | - . /etc/static/bashrc + . /etc/bashrc /usr/bin/sed -i.bak \ "s/pkgs.vim/pkgs.hello/" \ @@ -218,7 +218,7 @@ jobs: --override-input nixpkgs nixpkgs/nixpkgs-unstable - name: Switch to new configuration run: | - . /etc/static/bashrc + . /etc/bashrc /usr/bin/sed -i.bak \ "s/pkgs.vim/pkgs.hello/" \