mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
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 New Issue
Block a user