Skip to content

Nix: set package's meta.mainProgram#451

Open
doronbehar wants to merge 1 commit intopinnacle-comp:mainfrom
doronbehar:meta.mainProgram
Open

Nix: set package's meta.mainProgram#451
doronbehar wants to merge 1 commit intopinnacle-comp:mainfrom
doronbehar:meta.mainProgram

Conversation

@doronbehar
Copy link
Copy Markdown
Contributor

To avoid:

evaluation warning: getExe: Package "pinnacle-server-0.2.3" does not have the meta.mainProgram attribute. We'll assume that the main program has the same name for now, but this behavior is deprecated, because it leads to surprising errors when the assumption does not hold. If the package has a main program, please set `meta.mainProgram` in its definition to make this warning go away. Otherwise, if the package does not have a main program, or if you don't control its definition, use getExe' to specify the name to the program, such as lib.getExe' foo "bar".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant