Skip to content

allow-newer in cabal.project not propagating to builds #191

@ocharles

Description

@ocharles

In my cabal.project I have:

allow-newer:
  mandrill:aeson

But when I try and build a component that depends on mandrill, I get:

building '/nix/store/li9l28yywakv6k1rbbgfsx24avlgx7c5-mandrill-0.5.3.5-lib-mandrill.drv'...
unpacking sources
unpacking source archive /nix/store/83ynmhrfdqh6yph0z2lc94w8vn31yxbg-mandrill-0.5.3.5.tar.gz
source root is mandrill-0.5.3.5
setting SOURCE_DATE_EPOCH to timestamp 1536162563 of file mandrill-0.5.3.5/src/Network/API/Mandrill/Webhooks.hs
patching sources
configuring
Configure flags:
--prefix=/nix/store/wqy7fv2aiqa654bcbbh77whc9rbmsvsf-mandrill-0.5.3.5-lib-mandrill lib:mandrill --package-db=clear --package-db=/nix/store/iz0npwr9r7qv8df09cis8m5ch9nfqf76-mandrill-0.5.3.5-lib-mandrill-config/package.conf.d --with-ghc=ghc --with-ghc-pkg=ghc-pkg --with-hsc2hs=hsc2hs --with-gcc=cc --with-ld=ld --with-ar=ar --with-strip=strip --disable-executable-stripping --disable-library-stripping --disable-library-profiling --disable-executable-profiling --docdir=/nix/store/vlz6szby086y8d0d7a43mipziki2fy2i-mandrill-0.5.3.5-lib-mandrill-doc/share/doc/mandrill --enable-split-sections
Configuring library for mandrill-0.5.3.5..
Warning: The flag --disable-executable-profiling is deprecated. Please use
--disable-profiling instead.
Setup: Encountered missing dependencies:
aeson >=0.7.0.3 && <1.4.0.0

/nix/store/iz0npwr9r7qv8df09cis8m5ch9nfqf76-mandrill-0.5.3.5-lib-mandrill-config/package.conf.d has aeson-1.4.4.0, which is technically out-of-bands, but I want to allow it anyway.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions