about summary refs log tree commit diff
path: root/modules/profiles
diff options
context:
space:
mode:
Diffstat (limited to 'modules/profiles')
-rw-r--r--modules/profiles/common.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/profiles/common.nix b/modules/profiles/common.nix
index 9dc788cb..c941d636 100644
--- a/modules/profiles/common.nix
+++ b/modules/profiles/common.nix
@@ -26,6 +26,14 @@ with lib;
 
   config = {
     nixpkgs.config.packageOverrides = pkgs: {
+      # XXX: REAAAALLLY UGLY hack to force the Headcounter Hydra to rebuild GHC
+      # and all its packages and not use binary substitution.
+      haskellPackages = pkgs.haskellPackages.override {
+        ghc = pkgs.haskellPackages.ghc.overrideDerivation (const {
+          forceRebuild = true;
+        });
+      };
+
       inherit (import ../../pkgs {
         # We need to make sure to incorporate other package overrides,
         # otherwise we are unable to override packages in vuizvui.*.