@@ -165,7 +165,7 @@ self: super: {
165165 # TODO perhaps there is a cleaner way to get a suitable nix-tools.
166166
167167 # Produce a fixed output derivation from a moving target (hackage index tarball)
168− hackageTarball = { index-state, sha256, nix-tools ? self.nix-tools, ... }:
168+ hackageTarball = { index-state, sha256, nix-tools ? self.haskell-nix.nix-tools, ... }:
169169 assert sha256 != null;
170170 self.fetchurl {
171171 name = "01-index.tar.gz-at-${builtins.replaceStrings [":"] [""] index-state}";
@@ -390,6 +390,7 @@ self: super: {
390390 (filterSupportedGhc self.ghc-extra-projects));
391391 } // self.lib.optionalAttrs (ifdLevel > 1) {
392392 # Things that require two levels of IFD to build (inputs should be in level 1)
393+ inherit (self.haskell-nix) nix-tools;
393394 ghc-extra-packages = self.recurseIntoAttrs
394395 (filterSupportedGhc self.ghc-extra-packages);
395396 });