Skip to content

Commit

Permalink
fixup! use flake inptus for holo-nixpkgs and nixpkgs
Browse files Browse the repository at this point in the history
  • Loading branch information
steveej committed Sep 5, 2024
1 parent a11c66e commit 19f1423
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/build-hds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,17 @@ jobs:
sudo systemctl restart nix-daemon.service
elif type launchctl; then
sudo launchctl debug system/org.nixos.nix-daemon --environment NIX_GITHUB_PRIVATE_USERNAME=$NIX_GITHUB_PRIVATE_USERNAME NIX_GITHUB_PRIVATE_PASSWORD=$NIX_GITHUB_PRIVATE_PASSWORD
sudo launchctl stop system/org.nixos.nix-daemon || :
sudo launchctl start system/org.nixos.nix-daemon
# debug whether the nix-daemon PID changes before and after as a restart of it is required for the changes to take effect
sudo pgrep nix-daemon
(
set +e
set -x
sudo launchctl stop system/org.nixos.nix-daemon
sudo pkill -9 nix-daemon
sudo launchctl start system/org.nixos.nix-daemon
)
sudo pgrep nix-daemon
else
echo Unsupported system
exit 1
Expand Down

0 comments on commit 19f1423

Please sign in to comment.