diff --git a/pkgs/development/haskell-modules/generic-builder.nix b/pkgs/development/haskell-modules/generic-builder.nix index 23dc5054a854fe..193965ff6c7ec9 100644 --- a/pkgs/development/haskell-modules/generic-builder.nix +++ b/pkgs/development/haskell-modules/generic-builder.nix @@ -41,7 +41,7 @@ in , buildFlags ? [] , haddockFlags ? [] , description ? null -, doCheck ? !isCross +, doCheck ? stdenv.hostPlatform.canExecute stdenv.buildPlatform , doBenchmark ? false , doHoogle ? true , doHaddockQuickjump ? doHoogle