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