mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 12:29:02 +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_
|
lib.attrByPath ["meta" "description"] "System C compiler" cc_
|
||||||
+ " (wrapper script)";
|
+ " (wrapper script)";
|
||||||
priority = 10;
|
priority = 10;
|
||||||
|
mainProgram = if name != "" then name else ccName;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue