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
I am trying to build a project that contains extra dependencies:
from my
.cabalfile:Here is the error I have:
Is it that
styxdoesn't support extra libs or I am doing something wrong?My
styx.yaml:stackcan build this project without any errors, here is mystack.yaml: