Skip to content

Commit

Permalink
use sudo to move nix.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
squirmy committed Feb 28, 2024
1 parent b0d018a commit 6dac2c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ jobs:
nix run nixpkgs#sd 'homeDirectory = "/Users/username"' 'homeDirectory = "/Users/runner"' flake.nix
nix run nixpkgs#sd 'nixpkgs.hostPlatform = "aarch64-darwin"' 'nixpkgs.hostPlatform = "x86_64-darwin"' flake.nix
mv /etc/nix/nix.conf /etc/nix/nix.conf.before-nix-darwin
sudo -i mv /etc/nix/nix.conf /etc/nix/nix.conf.before-nix-darwin
nix run nix-darwin --extra-experimental-features "nix-command flakes" -- switch --flake .#hostname

0 comments on commit 6dac2c1

Please sign in to comment.