summary refs log tree commit diff
path: root/pkgs/test/default.nix
diff options
context:
space:
mode:
authorArtturin <Artturin@artturin.com>2023-09-07 22:18:40 +0300
committerArtturin <Artturin@artturin.com>2023-09-07 22:36:16 +0300
commitbcd62ff9eb0c07280063388847cf640c4c27ca10 (patch)
tree2a4701a2fa0979e7b7396ca3a0d83f6960f3b2bc /pkgs/test/default.nix
parente0898be1c52d62d89071f95fffc39ee468201fbe (diff)
downloadnixpkgs-bcd62ff9eb0c07280063388847cf640c4c27ca10.tar
nixpkgs-bcd62ff9eb0c07280063388847cf640c4c27ca10.tar.gz
nixpkgs-bcd62ff9eb0c07280063388847cf640c4c27ca10.tar.bz2
nixpkgs-bcd62ff9eb0c07280063388847cf640c4c27ca10.tar.lz
nixpkgs-bcd62ff9eb0c07280063388847cf640c4c27ca10.tar.xz
nixpkgs-bcd62ff9eb0c07280063388847cf640c4c27ca10.tar.zst
nixpkgs-bcd62ff9eb0c07280063388847cf640c4c27ca10.zip
Revert "tests.cc-wrapper: filter unavailable gcc"
This reverts commit d33a309f2c9f85c28cb897e623503f210057a77a.

commit caused ofborg-eval to fail with

```
$ nix-build pkgs/top-level/release.nix -A tests.cc-wrapper.gcc10Stdenv.aarch64-darwin
       error: evaluation aborted with the following error message: 'cannot find attribute `tests.cc-wrapper.gcc10Stdenv''
```

on the 3 other platfomrs the attr is there
Diffstat (limited to 'pkgs/test/default.nix')
-rw-r--r--pkgs/test/default.nix4
1 files changed, 0 insertions, 4 deletions
diff --git a/pkgs/test/default.nix b/pkgs/test/default.nix
index 41be8cce9c9..8bc9a7844ff 100644
--- a/pkgs/test/default.nix
+++ b/pkgs/test/default.nix
@@ -27,11 +27,7 @@ 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 {