Skip to content

Cannot access/find Apple's Security framework within the shell? #223

@KtorZ

Description

@KtorZ

Using the devx shell with GHC 9.6 and the static-minimal-iog configuration, on MacOS, I am unable to build the Cardano stack due to the introduction of splitmix in the dependencies tree. On MacOS, the library relies on Apple's Security framework, and somehow failed to build within the nix shell:

cbits-apple/init.c:2:10: error:
     fatal error: 'Security/SecRandom.h' file not found
  |
2 | #include <Security/SecRandom.h>
  |          ^
#include <Security/SecRandom.h>
         ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
`cc' failed in phase `C Compiler'. (Exit code: 1)

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