Skip to content

Fix build failure in Nix.Var #587

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 25, 2020
Merged

Fix build failure in Nix.Var #587

merged 1 commit into from
May 25, 2020

Conversation

sjakobi
Copy link
Member

@sjakobi sjakobi commented May 25, 2020

The Refl constructor had previously been re-exported from
Data.GADT.Compare.

This also replaces the dependency on dependent-sum with some,
where the Data.GADT.Compare module is now defined.

Tested by building locally with GHC 8.4.4, 8.6.5 and 8.8.3 in cabal.

Fixes #585.

The `Refl` constructor had previously been re-exported from
`Data.GADT.Compare`.

This also replaces the dependency on `dependent-sum` with `some`,
where the `Data.GADT.Compare` module is now defined.

Tested by building locally with GHC 8.4.4, 8.6.5 and 8.8.3 in `cabal`.

Fixes #585.
@Anton-Latukha
Copy link
Collaborator

Anton-Latukha commented May 25, 2020

Yep, reading on some & many I already observed that older dependent-sums functionalities were largely superseded by them.

@Anton-Latukha Anton-Latukha merged commit a2b9980 into master May 25, 2020
@sjakobi sjakobi deleted the sjakobi/585-refl branch May 25, 2020 17:35
@Anton-Latukha Anton-Latukha mentioned this pull request May 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

src/Nix/Var.hs error: Data constructor not in scope: Refl
2 participants