summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShamrock Lee <44064051+ShamrockLee@users.noreply.github.com>2022-09-20 16:57:28 +0800
committerShamrock Lee <44064051+ShamrockLee@users.noreply.github.com>2022-12-05 09:04:15 +0800
commitfbc3a6830ef2b67c94abaff23588769efd754692 (patch)
treebeb523fb95e14cfed3d3ef3302d7d1d7117dd5fd
parentMerge pull request #204499 from NixOS/backport-204487-to-release-22.11 (diff)
downloadnixpkgs-fbc3a6830ef2b67c94abaff23588769efd754692.tar.gz
clang: specify meta.mainProgram
(cherry picked from commit 8afdfd9e643b81d7a1ec8eb7f8ae259e61ca6782)
-rw-r--r--pkgs/development/compilers/llvm/10/clang/default.nix1
-rw-r--r--pkgs/development/compilers/llvm/11/clang/default.nix1
-rw-r--r--pkgs/development/compilers/llvm/12/clang/default.nix1
-rw-r--r--pkgs/development/compilers/llvm/13/clang/default.nix1
-rw-r--r--pkgs/development/compilers/llvm/14/clang/default.nix1
-rw-r--r--pkgs/development/compilers/llvm/5/clang/default.nix1
-rw-r--r--pkgs/development/compilers/llvm/6/clang/default.nix1
-rw-r--r--pkgs/development/compilers/llvm/7/clang/default.nix1
-rw-r--r--pkgs/development/compilers/llvm/8/clang/default.nix1
-rw-r--r--pkgs/development/compilers/llvm/9/clang/default.nix1
-rw-r--r--pkgs/development/compilers/llvm/git/clang/default.nix1
11 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/development/compilers/llvm/10/clang/default.nix b/pkgs/development/compilers/llvm/10/clang/default.nix
index 5336e4ea35a3..083ab65238b4 100644
--- a/pkgs/development/compilers/llvm/10/clang/default.nix
+++ b/pkgs/development/compilers/llvm/10/clang/default.nix
@@ -108,6 +108,7 @@ let
of tools that can be built using the Clang frontend as a library to
parse C/C++ code.
'';
+ mainProgram = "clang";
};
} // lib.optionalAttrs enableManpages {
pname = "clang-manpages";
diff --git a/pkgs/development/compilers/llvm/11/clang/default.nix b/pkgs/development/compilers/llvm/11/clang/default.nix
index 4bcdb3ca78b4..2e7465698c18 100644
--- a/pkgs/development/compilers/llvm/11/clang/default.nix
+++ b/pkgs/development/compilers/llvm/11/clang/default.nix
@@ -113,6 +113,7 @@ let
of tools that can be built using the Clang frontend as a library to
parse C/C++ code.
'';
+ mainProgram = "clang";
};
} // lib.optionalAttrs enableManpages {
pname = "clang-manpages";
diff --git a/pkgs/development/compilers/llvm/12/clang/default.nix b/pkgs/development/compilers/llvm/12/clang/default.nix
index 0f1e160bbce8..5329f0d4b659 100644
--- a/pkgs/development/compilers/llvm/12/clang/default.nix
+++ b/pkgs/development/compilers/llvm/12/clang/default.nix
@@ -107,6 +107,7 @@ let
of tools that can be built using the Clang frontend as a library to
parse C/C++ code.
'';
+ mainProgram = "clang";
};
} // lib.optionalAttrs enableManpages {
pname = "clang-manpages";
diff --git a/pkgs/development/compilers/llvm/13/clang/default.nix b/pkgs/development/compilers/llvm/13/clang/default.nix
index 62b9e0470a61..ec38f6d8873b 100644
--- a/pkgs/development/compilers/llvm/13/clang/default.nix
+++ b/pkgs/development/compilers/llvm/13/clang/default.nix
@@ -101,6 +101,7 @@ let
of tools that can be built using the Clang frontend as a library to
parse C/C++ code.
'';
+ mainProgram = "clang";
};
} // lib.optionalAttrs enableManpages {
pname = "clang-manpages";
diff --git a/pkgs/development/compilers/llvm/14/clang/default.nix b/pkgs/development/compilers/llvm/14/clang/default.nix
index 6b775efcc039..38cd0c21eff5 100644
--- a/pkgs/development/compilers/llvm/14/clang/default.nix
+++ b/pkgs/development/compilers/llvm/14/clang/default.nix
@@ -104,6 +104,7 @@ let
of tools that can be built using the Clang frontend as a library to
parse C/C++ code.
'';
+ mainProgram = "clang";
};
} // lib.optionalAttrs enableManpages {
pname = "clang-manpages";
diff --git a/pkgs/development/compilers/llvm/5/clang/default.nix b/pkgs/development/compilers/llvm/5/clang/default.nix
index df3d26139866..f1b872c190f4 100644
--- a/pkgs/development/compilers/llvm/5/clang/default.nix
+++ b/pkgs/development/compilers/llvm/5/clang/default.nix
@@ -101,6 +101,7 @@ let
of tools that can be built using the Clang frontend as a library to
parse C/C++ code.
'';
+ mainProgram = "clang";
};
} // lib.optionalAttrs enableManpages {
pname = "clang-manpages";
diff --git a/pkgs/development/compilers/llvm/6/clang/default.nix b/pkgs/development/compilers/llvm/6/clang/default.nix
index ee8859c159a1..788fa1fa6e50 100644
--- a/pkgs/development/compilers/llvm/6/clang/default.nix
+++ b/pkgs/development/compilers/llvm/6/clang/default.nix
@@ -101,6 +101,7 @@ let
of tools that can be built using the Clang frontend as a library to
parse C/C++ code.
'';
+ mainProgram = "clang";
};
} // lib.optionalAttrs enableManpages {
pname = "clang-manpages";
diff --git a/pkgs/development/compilers/llvm/7/clang/default.nix b/pkgs/development/compilers/llvm/7/clang/default.nix
index afa1669ace61..13563c43662a 100644
--- a/pkgs/development/compilers/llvm/7/clang/default.nix
+++ b/pkgs/development/compilers/llvm/7/clang/default.nix
@@ -113,6 +113,7 @@ let
of tools that can be built using the Clang frontend as a library to
parse C/C++ code.
'';
+ mainProgram = "clang";
};
} // lib.optionalAttrs enableManpages {
pname = "clang-manpages";
diff --git a/pkgs/development/compilers/llvm/8/clang/default.nix b/pkgs/development/compilers/llvm/8/clang/default.nix
index 1d6a5b7d74df..8ecb7fef80da 100644
--- a/pkgs/development/compilers/llvm/8/clang/default.nix
+++ b/pkgs/development/compilers/llvm/8/clang/default.nix
@@ -119,6 +119,7 @@ let
of tools that can be built using the Clang frontend as a library to
parse C/C++ code.
'';
+ mainProgram = "clang";
};
} // lib.optionalAttrs enableManpages {
pname = "clang-manpages";
diff --git a/pkgs/development/compilers/llvm/9/clang/default.nix b/pkgs/development/compilers/llvm/9/clang/default.nix
index ee124b43bfce..42103aee15bd 100644
--- a/pkgs/development/compilers/llvm/9/clang/default.nix
+++ b/pkgs/development/compilers/llvm/9/clang/default.nix
@@ -114,6 +114,7 @@ let
of tools that can be built using the Clang frontend as a library to
parse C/C++ code.
'';
+ mainProgram = "clang";
};
} // lib.optionalAttrs enableManpages {
pname = "clang-manpages";
diff --git a/pkgs/development/compilers/llvm/git/clang/default.nix b/pkgs/development/compilers/llvm/git/clang/default.nix
index 3df0e5042b8d..129f8e930ed2 100644
--- a/pkgs/development/compilers/llvm/git/clang/default.nix
+++ b/pkgs/development/compilers/llvm/git/clang/default.nix
@@ -105,6 +105,7 @@ let
of tools that can be built using the Clang frontend as a library to
parse C/C++ code.
'';
+ mainProgram = "clang";
};
} // lib.optionalAttrs enableManpages {
pname = "clang-manpages";