8.nix-darwin/modules
Louis Opter a58dd30d2b
github-runner: canonicalizes workDir to fix actions/checkout@v6
We ran into this issue wherein GitHub's `actions/checkout` would fail
because `git-config` would fail to include additional configuration.

The symptom was:

```
Error: fatal: could not read Username for 'https://github.com': terminal prompts disabled
```

And is caused by `git config --local includeIf.gitdir:/var/lib/github-runners/_work/…`.

Wherein `git` apparently resolves (canonicalizes) the current repository
path which then does not match the argument for `includeIf.gitdir` which
then means the configuration that `actions/checkout` is trying to apply
does not get pulled in, which then prevents git from authenticating with
GitHub and fails the build.

Ngl, gemini 3 found that out for me.

We could prefix `/private` everywhere, but changing the user's home
directory is going to [be tricky], not sure what do to about that.

[be tricky]: 7e22bf538a/modules/users/default.nix (L208)
2025-12-12 20:52:37 +00:00
..
config config/system-path: restructure to mirror NixOS 2025-05-25 14:06:56 +10:00
documentation Reapply "eval-config: set class" 2024-06-13 14:35:20 +01:00
environment config/system-path: restructure to mirror NixOS 2025-05-25 14:06:56 +10:00
examples launchd: move userLaunchd to system activation 2025-05-16 16:29:17 +01:00
fonts fonts: remove fonts.fontDir.enable 2024-06-13 11:56:58 +01:00
launchd apply should return null if the argument is not a list 2025-09-04 13:34:55 -06:00
lib write-text: remove support for copy 2024-06-15 12:15:13 +01:00
misc services/dnscrypt-proxy: init 2025-02-28 19:58:19 +07:00
networking networking: modify firewall settings only if explicitly set 2025-10-24 14:23:07 +01:00
nix Fix typo in Nix module 2025-09-09 16:38:50 +02:00
power power: move the check for restartPowerfailure support to checks.nix 2024-12-29 12:13:54 +01:00
programs zsh: allow configuring history 2025-11-13 14:54:56 +08:00
security pam: add pam_watchid support 2025-02-25 23:51:30 +08:00
services github-runner: canonicalizes workDir to fix actions/checkout@v6 2025-12-12 20:52:37 +00:00
system fold -> foldr 2025-11-26 19:41:19 +10:00
time time: shellcheck fix 2024-11-05 11:12:21 +10:00
users activation-scripts: get rid of user activation 2025-05-16 16:34:31 +01:00
alias.nix Update def and implementation of nix.package to match NixOS module 2022-08-16 10:41:51 -07:00
homebrew.nix homebrew: allow setting greedy for all casks by default (#1382) 2025-06-22 06:00:51 +00:00
meta.nix treewide: remove lib.mdDoc 2024-04-19 04:05:50 +02:00
module-list.nix networking.applicationFirewall: init 2025-06-23 00:46:57 +08:00