Restrict try-dhall
build to Linux (#756)
This commit is contained in:
parent
145d150e25
commit
21d70b3383
|
@ -3,8 +3,13 @@ let
|
|||
|
||||
shared_ghcjs = import ./nix/shared.nix { compiler = "ghcjs"; };
|
||||
|
||||
shared_ghcjs_linux =
|
||||
import ./nix/shared.nix { compiler = "ghcjs"; system = "x86_64-linux"; };
|
||||
|
||||
in
|
||||
{ inherit (shared) dhall dhall-bash dhall-json dhall-text;
|
||||
|
||||
inherit (shared_ghcjs) dhall-try try-dhall;
|
||||
inherit (shared_ghcjs) dhall-try;
|
||||
|
||||
inherit (shared_ghcjs_linux) try-dhall;
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ compiler ? "ghc843", coverage ? false }:
|
||||
{ compiler ? "ghc843", coverage ? false, system ? builtins.currentSystem }:
|
||||
|
||||
let
|
||||
fetchNixpkgs = import ./fetchNixpkgs.nix;
|
||||
|
@ -396,7 +396,10 @@ let
|
|||
};
|
||||
|
||||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
|
||||
config = {};
|
||||
|
||||
overlays =
|
||||
[ overlayShared overlayCabal2nix ]
|
||||
++ (if compiler == "ghc7103" then [ overlayGHC7103 ] else []);
|
||||
|
|
Loading…
Reference in New Issue
Block a user