Skip to content

Commit

Permalink
llvmPackages*.libcxx*: Always use the attribute name for pname
Browse files Browse the repository at this point in the history
This decision was made in a902d99 but
just for LLVM 12. Now we apply it consitently.
  • Loading branch information
Ericson2314 committed May 12, 2021
1 parent 894f0c6 commit e0d3c9d
Show file tree
Hide file tree
Showing 43 changed files with 28 additions and 28 deletions.
4 changes: 2 additions & 2 deletions pkgs/development/compilers/llvm/10/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -177,12 +177,12 @@ let

libcxxStdenv = overrideCC stdenv buildLlvmTools.libcxxClang;

libcxx = callPackage ./libc++ ({} //
libcxx = callPackage ./libcxx ({} //
(lib.optionalAttrs (stdenv.hostPlatform.useLLVM or false) {
stdenv = overrideCC stdenv buildLlvmTools.lldClangNoLibcxx;
}));

libcxxabi = callPackage ./libc++abi ({} //
libcxxabi = callPackage ./libcxxabi ({} //
(lib.optionalAttrs (stdenv.hostPlatform.useLLVM or false) {
stdenv = overrideCC stdenv buildLlvmTools.lldClangNoLibcxx;
libunwind = libraries.libunwind;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
}:

stdenv.mkDerivation {
pname = "libc++";
pname = "libcxx";
inherit version;

src = fetch "libcxx" "0v78bfr6h2zifvdqnj2wlfk4pvxzrqn3hg1v6lqk3y12bx9p9xny";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
}:

stdenv.mkDerivation {
pname = "libc++abi";
pname = "libcxxabi";
inherit version;

src = fetch "libcxxabi" "0yqs722y76cwvmfsq0lb917r9m3fci7bf5z3yzl71yz9n88ghzm9";
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/compilers/llvm/11/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -178,12 +178,12 @@ let

libcxxStdenv = overrideCC stdenv buildLlvmTools.libcxxClang;

libcxx = callPackage ./libc++ ({} //
libcxx = callPackage ./libcxx ({} //
(lib.optionalAttrs (stdenv.hostPlatform.useLLVM or false) {
stdenv = overrideCC stdenv buildLlvmTools.lldClangNoLibcxx;
}));

libcxxabi = callPackage ./libc++abi ({} //
libcxxabi = callPackage ./libcxxabi ({} //
(lib.optionalAttrs (stdenv.hostPlatform.useLLVM or false) {
stdenv = overrideCC stdenv buildLlvmTools.lldClangNoLibcxx;
libunwind = libraries.libunwind;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
}:

stdenv.mkDerivation {
pname = "libc++";
pname = "libcxx";
inherit version;

src = fetch "libcxx" "1rgqsqpgi0vkga5d7hy0iyfsqgzfz7q1xy7afdfa1snp1qjks8xv";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
}:

stdenv.mkDerivation {
pname = "libc++abi";
pname = "libcxxabi";
inherit version;

src = fetch "libcxxabi" "1azcf31mxw59hb1x17xncnm3dyw90ylh8rqx462lvypqh3nr6c8l";
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/compilers/llvm/5/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ let

libcxxStdenv = overrideCC stdenv buildLlvmTools.libcxxClang;

libcxx = callPackage ./libc++ {};
libcxx = callPackage ./libcxx {};

libcxxabi = callPackage ./libc++abi {};
libcxxabi = callPackage ./libcxxabi {};

openmp = callPackage ./openmp.nix {};
});
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ lib, stdenv, fetch, cmake, python3, libcxxabi, fixDarwinDylibNames, version }:

stdenv.mkDerivation {
pname = "libc++";
pname = "libcxx";
inherit version;

src = fetch "libcxx" "1672aaf95fgy4xsfra8pw24f6r93zwzpan1033hkcm8p2glqipvf";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ lib, stdenv, cmake, fetch, libcxx, libunwind, llvm, version }:

stdenv.mkDerivation {
pname = "libc++abi";
pname = "libcxxabi";
inherit version;

src = fetch "libcxxabi" "12lp799rskr4fc2xr64qn4jfkjnfd8b1aymvsxyn4k9ar7r9pgqv";
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/compilers/llvm/6/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@ let

libcxxStdenv = overrideCC stdenv buildLlvmTools.libcxxClang;

libcxx = callPackage ./libc++ {};
libcxx = callPackage ./libcxx {};

libcxxabi = callPackage ./libc++abi {};
libcxxabi = callPackage ./libcxxabi {};

openmp = callPackage ./openmp.nix {};
});
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ lib, stdenv, fetch, cmake, python3, libcxxabi, fixDarwinDylibNames, version }:

stdenv.mkDerivation {
pname = "libc++";
pname = "libcxx";
inherit version;

src = fetch "libcxx" "0rzw4qvxp6qx4l4h9amrq02gp7hbg8lw4m0sy3k60f50234gnm3n";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ lib, stdenv, cmake, fetch, libcxx, libunwind, llvm, version }:

stdenv.mkDerivation {
pname = "libc++abi";
pname = "libcxxabi";
inherit version;

src = fetch "libcxxabi" "0prqvdj317qrc8nddaq1hh2ag9algkd9wbkj3y4mr5588k12x7r0";
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/compilers/llvm/7/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -180,12 +180,12 @@ let

libcxxStdenv = overrideCC stdenv buildLlvmTools.libcxxClang;

libcxx = callPackage ./libc++ ({} //
libcxx = callPackage ./libcxx ({} //
(lib.optionalAttrs (stdenv.hostPlatform.useLLVM or false) {
stdenv = overrideCC stdenv buildLlvmTools.lldClangNoLibcxx;
}));

libcxxabi = callPackage ./libc++abi ({} //
libcxxabi = callPackage ./libcxxabi ({} //
(lib.optionalAttrs (stdenv.hostPlatform.useLLVM or false) {
stdenv = overrideCC stdenv buildLlvmTools.lldClangNoLibcxx;
libunwind = libraries.libunwind;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
}:

stdenv.mkDerivation {
pname = "libc++";
pname = "libcxx";
inherit version;

src = fetch "libcxx" "0kmhcapm2cjwalyiqasj9dmqbw59mcwdl8fgl951wg7ax84b8hj4";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
}:

stdenv.mkDerivation {
pname = "libc++abi";
pname = "libcxxabi";
inherit version;

src = fetch "libcxxabi" "1zcqxsdjhawgz1cvpk07y3jl6fg9p3ay4nl69zsirqb2ghgyhhb2";
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/compilers/llvm/8/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -180,12 +180,12 @@ let

libcxxStdenv = overrideCC stdenv buildLlvmTools.libcxxClang;

libcxx = callPackage ./libc++ ({} //
libcxx = callPackage ./libcxx ({} //
(lib.optionalAttrs (stdenv.hostPlatform.useLLVM or false) {
stdenv = overrideCC stdenv buildLlvmTools.lldClangNoLibcxx;
}));

libcxxabi = callPackage ./libc++abi ({} //
libcxxabi = callPackage ./libcxxabi ({} //
(lib.optionalAttrs (stdenv.hostPlatform.useLLVM or false) {
stdenv = overrideCC stdenv buildLlvmTools.lldClangNoLibcxx;
libunwind = libraries.libunwind;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
}:

stdenv.mkDerivation {
pname = "libc++";
pname = "libcxx";
inherit version;

src = fetch "libcxx" "0y4vc9z36c1zlq15cnibdzxnc1xi5glbc6klnm8a41q3db4541kz";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
}:

stdenv.mkDerivation {
pname = "libc++abi";
pname = "libcxxabi";
inherit version;

src = fetch "libcxxabi" "1vznz8n1z1h8af0ga451m98lc2hjnv4fyzl71napsvjhvk4g6nxp";
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/compilers/llvm/9/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -180,12 +180,12 @@ let

libcxxStdenv = overrideCC stdenv buildLlvmTools.libcxxClang;

libcxx = callPackage ./libc++ ({} //
libcxx = callPackage ./libcxx ({} //
(lib.optionalAttrs (stdenv.hostPlatform.useLLVM or false) {
stdenv = overrideCC stdenv buildLlvmTools.lldClangNoLibcxx;
}));

libcxxabi = callPackage ./libc++abi ({} //
libcxxabi = callPackage ./libcxxabi ({} //
(lib.optionalAttrs (stdenv.hostPlatform.useLLVM or false) {
stdenv = overrideCC stdenv buildLlvmTools.lldClangNoLibcxx;
libunwind = libraries.libunwind;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
}:

stdenv.mkDerivation {
pname = "libc++";
pname = "libcxx";
inherit version;

src = fetch "libcxx" "0d2bj5i6mk4caq7skd5nsdmz8c2m5w5anximl5wz3x32p08zz089";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
}:

stdenv.mkDerivation {
pname = "libc++abi";
pname = "libcxxabi";
inherit version;

src = fetch "libcxxabi" "1b4aiaa8cirx52vk2p5kfk57qmbqf1ipb4nqnjhdgqps9jm7iyg8";
Expand Down

0 comments on commit e0d3c9d

Please sign in to comment.