Skip to content
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

Compiling using Nix on ghc 9.2.4 produced -Wunused-top-binds error #7

Open
danwdart opened this issue Sep 18, 2022 · 0 comments
Open

Comments

@danwdart
Copy link

I'm not sure if there's something about -Werror here but I get the following trying to build:

error: builder for '/nix/store/fdd1rsmjp85hp910i1cc38m9wnkwh03r-graphite-0.10.0.1.drv' failed with exit code 1;
       last 10 log lines:
       >     Defined but not used: ‘isDirectedGraphic’
       >    |
       > 60 | isDirectedGraphic = undefined
       >    | ^^^^^^^^^^^^^^^^^
       >
       > src/Data/Graph/UGraph/DegreeSequence.hs:71:1: warning: [-Wunused-top-binds]
       >     Defined but not used: ‘fromGraphicalSequence’
       >    |
       > 71 | fromGraphicalSequence = undefined
       >    | ^^^^^^^^^^^^^^^^^^^^^
       For full logs, run 'nix log /nix/store/fdd1rsmjp85hp910i1cc38m9wnkwh03r-graphite-0.10.0.1.drv'.
error: 1 dependencies of derivation '/nix/store/mv9i7km3zsf0j1npgavgjqnx9y93kslv-ghc-9.2.4-with-packages.drv' failed to build

Not sure here, could just patch to use -Wno-unused-top-binds in the file until that's finished?

Thanks

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

No branches or pull requests

1 participant