Closed zoranbosnjak closed 1 year ago
I was able to reproduce the problem on my machine and after making the changes it's able to build with nix.
I'm new to open source so I'd appreciate any critique on my quick fix, but here's my fork where I add an internal Arity typeclass and redirect references/imports/dependencies. I added it to the bottom of QuickSpec.Internal.Type
@ashwinmathi, thanks. It fixes the build problem, with a small additional fix in the cabal file. It's up to the author, but my preference would be to squash your intermediate commits to a single commit, for example like this: https://github.com/zoranbosnjak/quickspec/commits/nixfix
Thanks, that makes sense. Are you going to open a PR from your fork / should I close my open one?
@ashwinmathi OK, a new PR is created. You can close yours now.
quickspec
package is marked broken in anix
package set. I belive the problem is that atwee-lib
included in nix packages by default istwee-lib-2.4.2
, while thequickspec
explicitly requires version2.4
.After a quick analysis it looks like the
Arity
class was removed from thetwee-lib
and thequickspec
is still using this class. What was to reason for removal? Could this be removed fromquickspec
too? This might fix the nix build problem.Steps to reproduce the problem: