mirror of
https://github.com/autc04/Retro68.git
synced 2024-06-24 08:29:40 +00:00
use launchctl to restart nix daemon
This commit is contained in:
parent
4b9d7265a2
commit
423ac43905
|
@ -143,8 +143,9 @@ jobs:
|
||||||
displayName: Install nix
|
displayName: Install nix
|
||||||
- script: |
|
- script: |
|
||||||
. /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
|
. /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
|
||||||
echo "trusted-users = root runner" | sudo tee -a /etc/nix/nix.conf && sudo pkill nix-daemon
|
echo "trusted-users = root runner" | sudo tee -a /etc/nix/nix.conf
|
||||||
|
sudo launchctl stop org.nixos.nix-daemon
|
||||||
|
sudo launchctl start org.nixos.nix-daemon
|
||||||
nix-env -iA cachix -f https://cachix.org/api/v1/install
|
nix-env -iA cachix -f https://cachix.org/api/v1/install
|
||||||
cachix use autc04
|
cachix use autc04
|
||||||
displayName: setup cachix
|
displayName: setup cachix
|
||||||
|
|
Loading…
Reference in New Issue
Block a user