Skip to content

Commit 8739f6a

Browse files
committed
chore: Disable exactDeps and HLS check.
Unfortunately, this is required when we use a `source-repository-package`, as we're now doing for the unreleased Selda that we're using. See: #876
1 parent 0585c03 commit 8739f6a

File tree

1 file changed

+17
-10
lines changed

1 file changed

+17
-10
lines changed

flake.nix

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -255,18 +255,22 @@
255255
# https://github.com/hackworthltd/primer/issues/632
256256
// (pkgs.lib.optionalAttrs (system == "aarch64-darwin") {
257257

258+
# We're using `source-repository-package`, so we must
259+
# disable this. See:
260+
# https://github.com/hackworthltd/primer/issues/876
261+
258262
# Make sure HLS can typecheck our project.
259-
check-hls = pkgs.callPackage ./nix/pkgs/check-hls {
260-
src = onlyHaskellSrc;
263+
# check-hls = pkgs.callPackage ./nix/pkgs/check-hls {
264+
# src = onlyHaskellSrc;
261265

262-
# Don't use the flake's version here; we only want to run
263-
# this HLS check when the Haskell source files have
264-
# changed, not on every commit to this repo.
265-
version = "1.0";
266+
# # Don't use the flake's version here; we only want to run
267+
# # this HLS check when the Haskell source files have
268+
# # changed, not on every commit to this repo.
269+
# version = "1.0";
266270

267-
# This is a bit of a hack, but we don't know a better way.
268-
inherit (primerFlake) devShell;
269-
};
271+
# # This is a bit of a hack, but we don't know a better way.
272+
# inherit (primerFlake) devShell;
273+
# };
270274
})
271275
// primerFlake.checks;
272276

@@ -461,7 +465,10 @@
461465
];
462466

463467
shell = {
464-
exactDeps = true;
468+
# We're using a `source-repository-package`, so we must disable this.
469+
# See:
470+
# https://github.com/hackworthltd/primer/issues/876
471+
#exactDeps = true;
465472
withHoogle = true;
466473

467474
tools = {

0 commit comments

Comments
 (0)