NixEvalJobs<_>::include should take 2 arguments #27

Open
opened 2026-01-26 00:13:01 +00:00 by raito · 1 comment
Owner

-I usually takes two arguments: name and path so that you can make -I nixpkgs=xxx or -I nixpkgs uvw.

Currently, it only takes one which is the shorthand that Nix implements, but should not be the general case.

`-I` usually takes two arguments: `name` and `path` so that you can make `-I nixpkgs=xxx` or `-I nixpkgs uvw`. Currently, it only takes one which is the shorthand that Nix implements, but should not be the general case.
Collaborator

I added this feature by updating my includenej methods. If the defined name is "" we will have the path -I like -I path. But if the name is not empty, we will have -I name=path

I added this feature by updating my `include`nej methods. If the defined name is "" we will have the path -I like -I path. But if the name is not empty, we will have -I name=path
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
afnix/botanix#27
No description provided.