files: prefix relative path literal with './'

Fixes the `warn-short-path-literals` warning:

  warning: relative path literal 'lib/file-type.nix' should be
  prefixed with '.' for clarity

Nix recommends prefixing relative path literals with './' to
distinguish them from other path forms.
This commit is contained in:
Aliaksandr
2026-04-16 17:42:18 +03:00
committed by Matthieu Coudron
parent 3c7524c683
commit d401492e2a

View File

@@ -34,7 +34,7 @@ let
inherit
(
(import lib/file-type.nix {
(import ./lib/file-type.nix {
inherit homeDirectory lib pkgs;
})
)