Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support nix-darwin system-wide activation #64

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Tweak logging during setup
zhaofengli committed Mar 24, 2025
commit 5461bbad6242d7e3cccf51f2985519f73ce3ddb3
2 changes: 2 additions & 0 deletions modules/default.nix
Original file line number Diff line number Diff line change
@@ -506,8 +506,10 @@ in {
${config.system.activationScripts.setup-homebrew.text}
'';
setup-homebrew.text = if hasSystemWideActivation then ''
>&2 echo "setting up Homebrew prefixes..."
${setupHomebrew}
'' else ''
>&2 echo "setting up Homebrew prefixes (user activation)..."
sudo ${setupHomebrew}
'';
};

Unchanged files with check annotations Beta

steps:
- uses: actions/checkout@v3
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main

Check warning on line 13 in .github/workflows/ci.yaml

GitHub Actions / check

Magic Nix Cache is deprecated

Magic Nix Cache has been deprecated due to a change in the underlying GitHub APIs and will stop working on 1 February 2025. To continue caching Nix builds in GitHub Actions, use FlakeHub Cache instead. Replace... - uses: DeterminateSystems/magic-nix-cache-action@main ...with... - uses: DeterminateSystems/flakehub-cache-action@main For more details: https://dtr.mn/magic-nix-cache-eol

Check warning on line 13 in .github/workflows/ci.yaml

GitHub Actions / check

Magic Nix Cache is deprecated

Magic Nix Cache has been deprecated due to a change in the underlying GitHub APIs and will stop working on 1 February 2025. To continue caching Nix builds in GitHub Actions, use FlakeHub Cache instead. Replace... - uses: DeterminateSystems/magic-nix-cache-action@main ...with... - uses: DeterminateSystems/flakehub-cache-action@main For more details: https://dtr.mn/magic-nix-cache-eol
- name: Test nuke-homebrew-repository
run: |