-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use meta.mainProgram
by default in mkApp
#65
Comments
Indeed. mkApp was added before that heuristic was added to nix. TBH I think mkApp should mostly get deprecated. |
Agree on making I would still recommend adding a warning or note with this that explains that |
Sounds good, do you want to do a PR for it? |
Now that nixpkgs has its own idea of `passthru.exePath` under the name `meta.mainProgram`, deprecate our solution in favor of the new standard. This subsequently removes the value of which `mkApp` brings, and therefore a full deprecation for its removal has begun. Closes: numtide#65
Now that nixpkgs has its own idea of `passthru.exePath` under the name `meta.mainProgram`, deprecate our solution in favor of the new standard. This subsequently removes the value of which `mkApp` brings, and therefore a full deprecation for its removal has begun. Closes: numtide#65
Opened! 😄 |
Now that nixpkgs has its own idea of `passthru.exePath` under the name `meta.mainProgram`, deprecate our solution in favor of the new standard. This subsequently removes the value of which `mkApp` brings, and therefore a full deprecation for its removal has begun. Closes: numtide#65
Now that nixpkgs has its own idea of `passthru.exePath` under the name `meta.mainProgram`, deprecate our solution in favor of the new standard. This subsequently removes the value of which `mkApp` brings, and therefore a full deprecation for its removal has begun. Closes: numtide#65
Is your feature request related to a problem? Please describe.
Describe the solution you'd like
there are many packages specify the
mainProgram
inmeta
section, themkApp
should follow that conversion and usebin/$drv.meta.mainProgram
by default.Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: