mission-control icon indicating copy to clipboard operation
mission-control copied to clipboard

fix trace warning for missing meta.mainProgram

Open vtgen opened this issue 1 year ago • 0 comments

i barely have any idea of what i am doing as evidenced by my experimentation below, but i think this is right.

Without this change I get e.g.:

trace: warning: getExe: Package fmt 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 th
e 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 i
ts definition, use getExe' to specify the name to the program, such as lib.getExe' foo "bar".

### ️🔨 Welcome to the Nix devshell ###

Available commands:

## Commands

  , fmt  : format the whole repo

(Run ',' to display this menu again)  

vtgen avatar Feb 03 '24 23:02 vtgen