Skip to content

Commit

Permalink
nix: Fix overlays for new unstable
Browse files Browse the repository at this point in the history
  • Loading branch information
rowanG077 committed Sep 21, 2023
1 parent b7f1c96 commit 61e37bc
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
7 changes: 2 additions & 5 deletions nix/overlay-ghc902.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,13 @@ in

# Marked as broken in nixpkgs since it needs a newer hashable than the one
# in the .cabal file uplodaed to hackage.
concurrent-supply = doJailbreak (markUnbroken prev.concurrent-supply);
# concurrent-supply = doJailbreak (markUnbroken prev.concurrent-supply);

# Marked as broken in nixpkgs for this version of GHC.
docopt = markUnbroken prev.docopt;

# The doctests crash for this package, but the main testsuite passes.
generic-lens = dontCheck prev.generic-lens;

# For some reason, lens 5.1.1 didn't build properly.
lens = prev.lens_5_2_2;
# generic-lens = dontCheck prev.generic-lens;

# Marked as broken in nixpkgs, since it specifies much older dependencies
# than the defaults in nixpkgs.
Expand Down
11 changes: 11 additions & 0 deletions nix/overlay-ghc962.nix
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,15 @@ in

# Needs a newer base than the .cabal file currently uploaded to hackage.
vector-binary-instances = doJailbreak prev.vector-binary-instances;

# Use a newer version than the default in nixpkgs.
th-abstraction = prev.th-abstraction_0_5_0_0;

# Use a newer version than the default in nixpkgs.
# doctest = prev.doctest_0_18_2;

# We can't use newer than 1.12 here: we need singletons 3.x (due to the cabal
# file of `clash-testsuite`) but the changed `DConP` constructor in 1.13
# stops `singletons-th` from building.
doctest = prev.callHackage "doctest" "0.21.1" { };
}

0 comments on commit 61e37bc

Please sign in to comment.