{ nixpkgs ? import {} }: let pinnedVersion = nixpkgs.lib.importJSON ./nixpkgs-version.json; pinnedPkgs = import (nixpkgs.fetchFromGitHub { owner = "NixOS"; repo = "nixpkgs"; inherit (pinnedVersion) rev sha256; }) {}; inherit (pinnedPkgs) pkgs; in { ghc = import ./default.nix { nixpkgs = pinnedPkgs; haskellPackages = pinnedPkgs.haskell.packages.ghc843; }; ghcjs = import ./default.nix { nixpkgs = pinnedPkgs; haskellPackages = pinnedPkgs.haskell.packages.ghcjs84; }; }