@@ -165,7 +165,7 @@ self: super: {
165 # TODO perhaps there is a cleaner way to get a suitable nix-tools.
165 # TODO perhaps there is a cleaner way to get a suitable nix-tools.
167 # Produce a fixed output derivation from a moving target (hackage index tarball)
167 # 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, ... }:
169 assert sha256 != null;
169 assert sha256 != null;
170 self.fetchurl {
170 self.fetchurl {
171 name = "01-index.tar.gz-at-${builtins.replaceStrings [":"] [""] index-state}";
171 name = "01-index.tar.gz-at-${builtins.replaceStrings [":"] [""] index-state}";
@@ -390,6 +390,7 @@ self: super: {
390 (filterSupportedGhc self.ghc-extra-projects));
390 (filterSupportedGhc self.ghc-extra-projects));
391 } // self.lib.optionalAttrs (ifdLevel > 1) {
391 } // self.lib.optionalAttrs (ifdLevel > 1) {
392 # Things that require two levels of IFD to build (inputs should be in level 1)
392 # Things that require two levels of IFD to build (inputs should be in level 1)
393+ inherit (self.haskell-nix) nix-tools;
393 ghc-extra-packages = self.recurseIntoAttrs
394 ghc-extra-packages = self.recurseIntoAttrs
394 (filterSupportedGhc self.ghc-extra-packages);
395 (filterSupportedGhc self.ghc-extra-packages);