@@ -1,4 +1,4 @@
1−{ pkgs, lib, newScope, stdenv, buildPlatform, targetPlatform }:
1+{ pkgs, lib, newScope, stdenv, buildPlatform, targetPlatform, cabal-install }:
22
33let
44 # These are attributes in compiler and packages that don't support integer-simple.
@@ -91,10 +91,12 @@ in rec {
9191 selfPkgs = packages.ghcHEAD;
9292 };
9393 ghcjs = packages.ghc7103.callPackage ../development/compilers/ghcjs {
94− bootPkgs = packages.ghc821Binary;
94+ bootPkgs = packages.ghc7103;
95+ inherit cabal-install;
9596 };
9697 ghcjsHEAD = packages.ghc802.callPackage ../development/compilers/ghcjs/head.nix {
97− bootPkgs = packages.ghc821Binary;
98+ bootPkgs = packages.ghc802;
99+ inherit cabal-install;
98100 };
99101 ghcHaLVM240 = callPackage ../development/compilers/halvm/2.4.0.nix rec {
100102 bootPkgs = packages.ghc7103Binary;