mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 16:45:49 +01:00
buildRustCrate: set meta.mainProgram to crateName
This commit is contained in:
parent
73268cc1b4
commit
d6bd313f07
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