1
0
Fork 0
mirror of https://github.com/Mic92/sops-nix.git synced 2025-03-15 13:08:21 +00:00
sops-nix/pkgs/sops-install-secrets
Roman Gonzalez 2ff6973350 fix(darwin): RuntimeDir trailing slash
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.
2023-06-22 01:49:29 +00:00
..
sshkeys switch to maintained openpgp library 2021-08-29 15:24:07 +02:00
test-assets format type: add dotenv and ini 2023-01-17 10:55:52 -03:00
.envrc first commit 2020-07-06 07:31:57 +01:00
darwin.go fix(darwin): RuntimeDir trailing slash 2023-06-22 01:49:29 +00:00
default.nix sops-install-secrets: disable unittest for darwin 2023-02-02 12:07:00 +01:00
linux.go go files for darwin 2023-02-02 11:38:33 +01:00
main.go go: drop deprecated ioutil 2023-02-28 09:44:31 +01:00
main_test.go go: drop deprecated ioutil 2023-02-28 09:44:31 +01:00
nixos-test.nix fix scope in sops.templates; add relevant test 2023-04-18 12:47:12 +08:00
shell.nix no longer use out-dated aliases 2022-09-26 16:28:23 +02:00