buildRustCrate: set meta.mainProgram to crateName
This commit is contained in:
parent
73268cc1b4
commit
d6bd313f07
|
@ -346,6 +346,9 @@ crate_: lib.makeOverridable
|
|||
outputs = if buildTests then [ "out" ] else [ "out" "lib" ];
|
||||
outputDev = if buildTests then [ "out" ] else [ "lib" ];
|
||||
|
||||
meta = {
|
||||
mainProgram = crateName;
|
||||
};
|
||||
} // extraDerivationAttrs
|
||||
)
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue