Skip to content

Problem with external libraries #2

Description

@AlexeyRaga

I am trying to build a project that contains extra dependencies:

from my .cabal file:

  extra-lib-dirs:      /usr/local/lib
  extra-libraries:     rdkafka

Here is the error I have:

$ nix-shell .styx/shell.nix --run "cabal install"                                                                                                      
error: anonymous function at /Users/alexey/src/github/kafka-client/.styx/kafka-client.nix:1:1 called without required argument ‘rdkafka’, at /Users/alexey/src/github/kafka-client/.styx/shell.nix:12:17

Is it that styx doesn't support extra libs or I am doing something wrong?

My styx.yaml:

local-packages:
  kafka-client:
    location: .

stack can build this project without any errors, here is my stack.yaml:

flags: {}
packages:
- '.'
extra-deps:   

resolver: lts-7.13

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions