1
0
Fork 0
mirror of https://github.com/Mic92/sops-nix.git synced 2024-12-14 11:57:52 +00:00
sops-nix/pkgs
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
..
sops-import-keys-hook fix makeSetupHook's also for older nixos release 2023-05-08 06:48:56 +02:00
sops-init-gpg-key Update pkgs/sops-init-gpg-key/sops-init-gpg-key 2023-01-11 10:00:33 +01:00
sops-install-secrets fix(darwin): RuntimeDir trailing slash 2023-06-22 01:49:29 +00:00
sops-pgp-hook fix makeSetupHook's also for older nixos release 2023-05-08 06:48:56 +02:00
cross-build.nix move all nix expressions to pkgs 2022-05-15 08:19:33 +02:00
lint.nix move all nix expressions to pkgs 2022-05-15 08:19:33 +02:00
sops-pgp-hook-test.nix move all nix expressions to pkgs 2022-05-15 08:19:33 +02:00
unit-tests.nix no longer use out-dated aliases 2022-09-26 16:28:23 +02:00