Skip to content

Commit

Permalink
tests.cc-wrapper: filter unavailable gcc
Browse files Browse the repository at this point in the history
  • Loading branch information
Artturin committed Sep 7, 2023
1 parent e7632ac commit d33a309
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkgs/test/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ with pkgs;
(stdenv.buildPlatform.isLinux && stdenv.buildPlatform.isx86_64) &&
(stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isx86_64)
)) [
# Is a throw
(filter (n: !lib.hasSuffix "MultiStdenv" n))
] ++ [
# Has to be after the previous filter
(filter (n: lib.meta.availableOn stdenv.hostPlatform pkgs.${n}.cc ))
]);
in lib.genAttrs pkgSets (name: callPackage ./cc-wrapper { stdenv = pkgs.${name}; });
in recurseIntoAttrs {
Expand Down

0 comments on commit d33a309

Please sign in to comment.