mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
Merge #235610: cc-wrapper: try to better guess meta.mainProgram
This commit is contained in:
commit
944c7fa720
|
@ -612,5 +612,6 @@ stdenv.mkDerivation {
|
|||
lib.attrByPath ["meta" "description"] "System C compiler" cc_
|
||||
+ " (wrapper script)";
|
||||
priority = 10;
|
||||
mainProgram = if name != "" then name else ccName;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue