2 Commits

Author SHA1 Message Date
Fabian Cholewinski
cfba7ad588 khard: Avoid absolute path literal
Absolute path literal so Home Manager does not fail when the Nix option
`lint-absolute-path-literals` is set to `fatal`.

The purpose of `makePath` was to avoid multiple slashes in the printed
path. This is unnecessary as can be seen by the discover entry which
does not do this "beautification".

Drop the dirty_path.nix test as it is no longer relevant.

Update the tests to the new output, which now contains a trailing slash.
This is fine as the khards path attribute expects an directory.
2026-08-23 14:25:06 +02:00
Olmo Kramer
6f9b5b83ad khard: add module 2023-10-01 09:29:05 +02:00