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

GHC 8.6 build failure #3

Open
deepfire opened this issue Jan 11, 2019 · 4 comments
Open

GHC 8.6 build failure #3

deepfire opened this issue Jan 11, 2019 · 4 comments

Comments

@deepfire
Copy link

Build with /nix/store/qlh14liv4d8hkkkj7m5i9nyx04yv87hc-ghc-8.6.1.
unpacking sources
unpacking source archive /nix/store/lm5yh6yb4n2zg3vkm5d2ys5l9886hqwv-source
source root is source
patching sources
Replace Cabal file with edited version from http://hackage.haskell.org/package/vector-space-0.13/revision/2.cabal.
Run jailbreak-cabal to lift version restrictions on build inputs.
compileBuildDriverPhase
setupCompileFlags: -package-db=/tmp/nix-build-vector-space-0.13.drv-0/setup-package.conf.d -j4 -threaded
[1 of 1] Compiling Main             ( Setup.lhs, /tmp/nix-build-vector-space-0.13.drv-0/Main.o )
Linking Setup ...
setupCompilerEnvironmentPhase
Build with /nix/store/qlh14liv4d8hkkkj7m5i9nyx04yv87hc-ghc-8.6.1.
unpacking sources
unpacking source archive /nix/store/0nl65pdy2vyz4chxsgn82ixgicxnzwbx-reflex-transformers-0.2.1.tar.gz
source root is reflex-transformers-0.2.1
setting SOURCE_DATE_EPOCH to timestamp 1444958604 of file reflex-transformers-0.2.1/.vim.custom
patching sources
compileBuildDriverPhase
setupCompileFlags: -package-db=/tmp/nix-build-reflex-transformers-0.2.1.drv-2/setup-package.conf.d -j4 -threaded
[1 of 1] Compiling Main             ( Setup.hs, /tmp/nix-build-reflex-transformers-0.2.1.drv-2/Main.o )

Setup.hs:7:31: error:
    Module
    ‘Distribution.Package’
    does not export
    ‘PackageName(PackageName)’
  |
7 | import Distribution.Package ( PackageName(PackageName), PackageId, InstalledPackageId, packageVersion, packageName )
  |                               ^^^^^^^^^^^^^^^^^^^^^^^^
note: keeping build directory '/tmp/nix-build-reflex-transformers-0.2.1.drv-2'
builder for '/nix/store/28pgc1fp2pvvc1hqy89iyn9xg45vcvgp-reflex-transformers-0.2.1.drv' failed with exit code 1
@deepfire
Copy link
Author

Looks like Cabal API changes.

@oliver-batchelor
Copy link
Owner

oliver-batchelor commented Jan 12, 2019 via email

@deepfire-pusher
Copy link

@Saulzar, I see, thank you for explaining!

I'm not using the package directly, and I've reported this bug because your reflex-animation package is depending on it.

@oliver-batchelor
Copy link
Owner

oliver-batchelor commented Jan 12, 2019 via email

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

3 participants