diff options
| author | Jeremy Fleischman <jeremyfleischman@gmail.com> | 2025-02-14 12:22:11 +0700 |
|---|---|---|
| committer | Jeremy Fleischman <jeremyfleischman@gmail.com> | 2025-02-21 20:39:20 -0800 |
| commit | afee63185329ab84203d90a955eac5f96ad8ee89 (patch) | |
| tree | 21afccdf23bd1a59bcb3fd30e1f48414424f6995 /pkgs/development/python-modules/python-openstackclient | |
| parent | d8b348c8ed187ee1c1a83c2987a6b7a93d6799b5 (diff) | |
nixos/step-ca: use `pathWith` for `intermediatePasswordFile`
This lets us remove an assertion, because `pathWith` can require that a
file not be in the store.
Note that the old assertion didn't quite do what we wanted: it prevented
you from using top level store paths (such as
`/nix/store/gg8578vvbcf1wpqvk85bigi5s4pvylkk-test-certificates`), but was
ok with sub-files (such as
`/nix/store/gg8578vvbcf1wpqvk85bigi5s4pvylkk-test-certificates/intermediate-password-file`).
Now that we're stricter, we need some way to populate
`intermediatePasswordFile` in our test without making the type unhappy.
I opted to solve that by creating a file in `/etc`.
Diffstat (limited to 'pkgs/development/python-modules/python-openstackclient')
0 files changed, 0 insertions, 0 deletions
