-
Notifications
You must be signed in to change notification settings - Fork 10
Fix dependencies for iog-full flavor #175
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's weird.
Maybe |
Also, I might be wrong but I don't think we need to use getDev for buildInputs, as they are implied. |
Right above there is
I find it hard to read. Is that supposed to mean |
This is my take: buildInputs =
let
inherit (pkgs) lib stdenv;
inherit (lib) attrValues optional optionals;
in
[
wrapped-cabal
fixup-nix-deps
compiler
# for libstdc++; ghc not being able to find this properly is bad,
# it _should_ probably call out to a g++ or clang++ but doesn't.
stdenv.cc.cc.lib
]
++ (with pkgs; [
openssl
pcre
pkg-config
zlib
])
++ optional stdenv.hostPlatform.isLinux pkgs.systemd
++ optionals withIOG (
with pkgs;
[
cddl
cbor-diag
gh
jq
yq-go
libblst
libsodium-vrf
secp256k1
icu
]
++ optionals withIOGFull (
[ postgresql ] # for db-sync
++ optional stdenv.hostPlatform.isAarch64 R
)
)
++ attrValues haskell-tools; |
Ah, you're right. I was mistakenly looking at the docs for |
IIRC |
* Use correct variant of optional/optionals * Clean up formatting
getDev
references
Uh oh!
There was an error while loading. Please reload this page.