diff --git a/flake.nix b/flake.nix index cf12e515c..38a4500e0 100644 --- a/flake.nix +++ b/flake.nix @@ -255,18 +255,22 @@ # https://github.com/hackworthltd/primer/issues/632 // (pkgs.lib.optionalAttrs (system == "aarch64-darwin") { + # We're using `source-repository-package`, so we must + # disable this. See: + # https://github.com/hackworthltd/primer/issues/876 + # Make sure HLS can typecheck our project. - check-hls = pkgs.callPackage ./nix/pkgs/check-hls { - src = onlyHaskellSrc; + # check-hls = pkgs.callPackage ./nix/pkgs/check-hls { + # src = onlyHaskellSrc; - # Don't use the flake's version here; we only want to run - # this HLS check when the Haskell source files have - # changed, not on every commit to this repo. - version = "1.0"; + # # Don't use the flake's version here; we only want to run + # # this HLS check when the Haskell source files have + # # changed, not on every commit to this repo. + # version = "1.0"; - # This is a bit of a hack, but we don't know a better way. - inherit (primerFlake) devShell; - }; + # # This is a bit of a hack, but we don't know a better way. + # inherit (primerFlake) devShell; + # }; }) // primerFlake.checks; @@ -457,7 +461,10 @@ ]; shell = { - exactDeps = true; + # We're using a `source-repository-package`, so we must disable this. + # See: + # https://github.com/hackworthltd/primer/issues/876 + #exactDeps = true; withHoogle = true; tools = {