mirror of
https://github.com/Mic92/sops-nix.git
synced 2025-12-26 22:24:59 +08:00
In later versions of macOS (e.g. Ventura), the command used to get a runtime directory (e.g. `getconf DARWIN_USER_TEMP_DIR`) returns a trailing slash. When using a configuration like: ``` sops.defaultSecretsMountPoint = "%r/secrets.d"; ``` The final path is going to contain a double slash in the suffix of the path, an example: ``` /var/<random>/<hash>//secrets.d ``` This commit ensures that the runtime dir will get the trailing '/' character removed. |
||
|---|---|---|
| .. | ||
| sshkeys | ||
| test-assets | ||
| .envrc | ||
| darwin.go | ||
| default.nix | ||
| linux.go | ||
| main.go | ||
| main_test.go | ||
| nixos-test.nix | ||
| shell.nix | ||