explicitly set meta.mainProgram#9162
explicitly set meta.mainProgram#9162edolstra merged 1 commit intoNixOS:masterfrom eclairevoyant:add-mainprogram
Conversation
|
This already works for me: |
|
This change is more important for using |
Not sure I agree with that. Convention over configuration and all that. Requiring thousands of packages to set |
I have never heard such a phrase, where does it come from? I do not see a reason to not-add it, and I see many reasons to add it, so I do not understand the strong and unnecessary pushback here. |
|
If you want to know about the original nixpkgs PR (from 3 months ago) and why the warning was added, perhaps @roberth would be a better representative to explain the full context behind the PR than myself. |
The PR: |
https://en.wikipedia.org/wiki/Convention_over_configuration Anyway, I'll merge this since it is indeed just a one-liner. |
Motivation
Setting
meta.mainProgramproperly allows usingnix runcorrectly.Context
NixOS/nixpkgs#246386 and
nix runuses the same field.Priorities
Add 👍 to pull requests you find important.