@@ -6,9 +6,9 @@ haskellNixOverlay: final: prev: {
66 # derivations that use `evalPackages` (these should be eval time only derviations
77 # used to build nix inputs for IFD, the generated nix should match and so derivations
88 # that depend on the IFD should match).
9− evalPackages = (import final.path {
9+ evalPackages = import final.path {
1010 # If we are building a flake there will be no currentSystem attribute
11− system = builtins.currentSystem or final.system;
11+ system = builtins.currentSystem or final.buildPackages.system;
1212 overlays = [ haskellNixOverlay ];
13− }).buildPackages;
13+ };
1414}