Merge pull request #283598 from Artturin/fixerr1

tests.cc-wrapper: fix error
This commit is contained in:
Weijia Wang 2024-01-25 00:19:51 +01:00 committed by GitHub
commit cdb02f1ec6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -9,10 +9,12 @@ with pkgs;
pkgSets = lib.pipe pkgNames [ pkgSets = lib.pipe pkgNames [
(filter (lib.hasPrefix "llvmPackages")) (filter (lib.hasPrefix "llvmPackages"))
(filter (n: n != "rocmPackages.llvm")) (filter (n: n != "rocmPackages.llvm"))
# Is a throw alias. # Are throw aliases.
(filter (n: n != "llvmPackages_rocm")) (filter (n: n != "llvmPackages_rocm"))
(filter (n: n != "llvmPackages_latest")) (filter (n: n != "llvmPackages_latest"))
(filter (n: n != "llvmPackages_git")) (filter (n: n != "llvmPackages_git"))
(filter (n: n != "llvmPackages_6"))
(filter (n: n != "llvmPackages_7"))
]; ];
tests = lib.genAttrs pkgSets (name: recurseIntoAttrs { tests = lib.genAttrs pkgSets (name: recurseIntoAttrs {
clang = callPackage ./cc-wrapper { stdenv = pkgs.${name}.stdenv; }; clang = callPackage ./cc-wrapper { stdenv = pkgs.${name}.stdenv; };