1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-12-14 11:57:34 +00:00

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`.
This commit is contained in:
Michael Hoang 2024-11-19 12:50:32 +11:00
parent 9fe8a0a738
commit 2ca27ba780

View file

@ -63,7 +63,7 @@ jobs:
-I darwin-config=$HOME/.config/nix-darwin/configuration.nix -I darwin-config=$HOME/.config/nix-darwin/configuration.nix
- name: Switch to new configuration - name: Switch to new configuration
run: | run: |
. /etc/static/bashrc . /etc/bashrc
/usr/bin/sed -i.bak \ /usr/bin/sed -i.bak \
"s/pkgs.vim/pkgs.hello/" \ "s/pkgs.vim/pkgs.hello/" \
@ -119,7 +119,7 @@ jobs:
-I darwin-config=$HOME/.config/nix-darwin/configuration.nix -I darwin-config=$HOME/.config/nix-darwin/configuration.nix
- name: Switch to new configuration - name: Switch to new configuration
run: | run: |
. /etc/static/bashrc . /etc/bashrc
/usr/bin/sed -i.bak \ /usr/bin/sed -i.bak \
"s/pkgs.vim/pkgs.hello/" \ "s/pkgs.vim/pkgs.hello/" \
@ -173,7 +173,7 @@ jobs:
--override-input nixpkgs nixpkgs/${{ env.CURRENT_STABLE_CHANNEL }} --override-input nixpkgs nixpkgs/${{ env.CURRENT_STABLE_CHANNEL }}
- name: Switch to new configuration - name: Switch to new configuration
run: | run: |
. /etc/static/bashrc . /etc/bashrc
/usr/bin/sed -i.bak \ /usr/bin/sed -i.bak \
"s/pkgs.vim/pkgs.hello/" \ "s/pkgs.vim/pkgs.hello/" \
@ -218,7 +218,7 @@ jobs:
--override-input nixpkgs nixpkgs/nixpkgs-unstable --override-input nixpkgs nixpkgs/nixpkgs-unstable
- name: Switch to new configuration - name: Switch to new configuration
run: | run: |
. /etc/static/bashrc . /etc/bashrc
/usr/bin/sed -i.bak \ /usr/bin/sed -i.bak \
"s/pkgs.vim/pkgs.hello/" \ "s/pkgs.vim/pkgs.hello/" \