-
-
Notifications
You must be signed in to change notification settings - Fork 14
NPV 124
Philip Taron edited this page Feb 16, 2026
·
1 revision
A path expression in a pkgs/by-name Nix file could not be resolved on the filesystem. This typically means the referenced file or directory does not exist.
{relative_package_dir}: File {subpath} at line {line} contains the path expression "{text}" which cannot be resolved: {io_error}.
If pkgs/by-name/fo/foo/package.nix references ./missing-file.nix but that file doesn't exist:
pkgs/by-name/fo/foo: File package.nix at line 3 contains the path expression "./missing-file.nix" which cannot be resolved: No such file or directory (os error 2).
Ensure the referenced path exists. Either create the missing file, fix the path to point to the correct location, or remove the path reference.