Merge pull request #171668 from ilkecan/buildRustCrate-set-mainProgram
buildRustCrate: set meta.mainProgram to crateName
This commit is contained in:
commit
4f35872b16
1 changed files with 3 additions and 0 deletions
|
@ -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