-
- Downloads
Add a Botan2 override that at least builds for Android
* Add a nix-thunk for nixpkgs-22.11 so that we can take a recent version of a nix expression for a Botan2 derivation from it. The Botan2 derivation in the reflex-platform-pinned nixpkgs has some incompatibilities with the newer Botan2 source that we plug in. * Add a nix-thunk for Botan2 itself, pointed at our branch that adds a ZFEC C API for our Haskell code to FFI to. We should be able to point this at upstream main when the branch is merged, and a release some time after that. * Add Botan2 to the overlay itself along with some additional fixes to convince it to build for Android. The upstream expression claims to not support Android (true!) so we adjust that metadata. Then we fix some other things (compiler flags, versions of some build dependencies) so it will actually build. We also take the opportunity to minimize the size of the resulting library since there's a handy configure flag for doing that. For the moment we also enable debug mode, though presumably we'll want to drop that at some point. And of course we drop our preferred version of the source tree in place.
Showing
- obelisk/dep/botan/default.nix 2 additions, 0 deletionsobelisk/dep/botan/default.nix
- obelisk/dep/botan/github.json 8 additions, 0 deletionsobelisk/dep/botan/github.json
- obelisk/dep/botan/thunk.nix 12 additions, 0 deletionsobelisk/dep/botan/thunk.nix
- obelisk/dep/nixpkgs-22.11/default.nix 2 additions, 0 deletionsobelisk/dep/nixpkgs-22.11/default.nix
- obelisk/dep/nixpkgs-22.11/github.json 8 additions, 0 deletionsobelisk/dep/nixpkgs-22.11/github.json
- obelisk/dep/nixpkgs-22.11/thunk.nix 12 additions, 0 deletionsobelisk/dep/nixpkgs-22.11/thunk.nix
- obelisk/nixpkgs-overlay.nix 135 additions, 1 deletionobelisk/nixpkgs-overlay.nix
Loading
Please register or sign in to comment