From d401492e2acd4fea42f7705a3c266cea739c9c36 Mon Sep 17 00:00:00 2001 From: Aliaksandr Date: Thu, 16 Apr 2026 17:42:18 +0300 Subject: [PATCH] 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. --- modules/files.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/files.nix b/modules/files.nix index ba7a46451..121b72e24 100644 --- a/modules/files.nix +++ b/modules/files.nix @@ -34,7 +34,7 @@ let inherit ( - (import lib/file-type.nix { + (import ./lib/file-type.nix { inherit homeDirectory lib pkgs; }) )