You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ 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:
Please try with the latest patch provided by mpickering. If it does not work try putting rdkafka in the non-haskell-deps section of the styx.yaml file.
Looking into it, I see that there is a difficulty with external libraries, which must be passed to cabal2nix and re-extracted. For reference, here is the code for glpk-hs in nixpgks:
I am trying to build a project that contains extra dependencies:
from my
.cabal
file:Here is the error I have:
Is it that
styx
doesn't support extra libs or I am doing something wrong?My
styx.yaml
:stack
can build this project without any errors, here is mystack.yaml
:The text was updated successfully, but these errors were encountered: