Skip to content
This repository was archived by the owner on Feb 10, 2025. It is now read-only.

feat: add darwin support#6

Open
veselyn wants to merge 4 commits intomrjones2014:masterfrom
vesearchive:darwin-support
Open

feat: add darwin support#6
veselyn wants to merge 4 commits intomrjones2014:masterfrom
vesearchive:darwin-support

Conversation

@veselyn
Copy link
Copy Markdown

@veselyn veselyn commented Dec 13, 2024

Amazing project! I want to use it on my Mac as well so I put together a Darwin module.

It mostly works but occasionally fails due to some permission error. I'll try to figure out why when I find some free time, or somebody else can take a look. Problem was that the daemon and the activation script were running simultaneously and causing race conditions. Fixed in 37cb44d.

@veselyn veselyn marked this pull request as draft December 13, 2024 16:28
@veselyn veselyn marked this pull request as ready for review December 13, 2024 20:34
Comment thread modules/scripts.nix
TMP_FILE="$_truePath.tmp"

mkdir -p "$(dirname "$_truePath")"
# shellcheck disable=SC2050
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

out of curiosity, do you have shellcheck running inside the strings somehow?

Comment thread modules/nixos.nix
@@ -0,0 +1,78 @@
toplevel @ {
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you explain what this toplevel @ is for?

@mrjones2014
Copy link
Copy Markdown
Owner

The code here mostly looks good but I do not have a mac I can test this on. Would you be willing to add a CI job that uses GitHub's mac runners and runs a test macOS configuration?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants