diff options
author | Vladimír Čunát <v@cunat.cz> | 2023-06-11 09:11:13 +0200 |
---|---|---|
committer | Vladimír Čunát <v@cunat.cz> | 2023-06-11 09:11:13 +0200 |
commit | 944c7fa720e5628fd415b1fedf89ee7f941fcec0 (patch) | |
tree | 9d1c30620f18f09ac60f0bf9de7fb3e948ac7274 /pkgs | |
parent | 2496de6c0a56eb8ae93bad5821ca09bbab38efe5 (diff) | |
parent | 295ff35f2410dff5fb897567abe3b13fa621a2df (diff) |
Merge #235610: cc-wrapper: try to better guess meta.mainProgram
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/build-support/cc-wrapper/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/build-support/cc-wrapper/default.nix b/pkgs/build-support/cc-wrapper/default.nix index 7b3088157661..e4dcb8134669 100644 --- a/pkgs/build-support/cc-wrapper/default.nix +++ b/pkgs/build-support/cc-wrapper/default.nix @@ -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; }; } |