tests.cc-wrapper: fix error

`error: llvmPackages_{6,7} has been removed from nixpkgs`
This commit is contained in:
Artturin 2024-01-24 17:44:32 +02:00
parent e81467f581
commit 1d1d938bf0

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; };