-
-
Notifications
You must be signed in to change notification settings - Fork 14
NPV 144
Philip Taron edited this page Feb 16, 2026
·
1 revision
The package.nix entry in a pkgs/by-name package directory must be a regular file, not a directory or other filesystem object.
{relative_package_dir}: "package.nix" must be a file.
If pkgs/by-name/fo/foo/package.nix is a directory instead of a file:
pkgs/by-name/fo/foo: "package.nix" must be a file.
Remove the directory named package.nix and replace it with a regular file containing the package definition.