@@ -58,7 +58,9 @@
5858 # We need to use the actual nixpkgs version we're working with here, since the values
5959 # of 'lib.systems.examples' are not understood between all versions
6060 let lib = nixpkgs.lib;
61− in lib.optionalAttrs (nixpkgsName == "unstable" && (__elem compiler-nix-name ["ghc8107"]) && system != "aarch64-darwin") {
61+ in lib.optionalAttrs (nixpkgsName == "unstable"
62+ && ((system == "x86_64-linux" && __elem compiler-nix-name ["ghc865" "ghc884" "ghc8107"])
63+ || (system == "x86_64-darwin" && __elem compiler-nix-name ["ghc8107"]))) {
6264 inherit (lib.systems.examples) ghcjs;
6365 } // lib.optionalAttrs (system == "x86_64-linux" &&
6466 nixpkgsName == "unstable" && (__elem compiler-nix-name ["ghc8107"])) {