Commit graph

11 commits

Author SHA1 Message Date
Zhaofeng Li 5ca98fbaa8 Drop bindgen and specialize hash handling
Bindgen cannot handle functional C macros, and now `GENERATE_CMP`
is part of the include chain of `nix/hash.hh`, breaking everything.

For now, let's just drop bindgen and simplify things.
2023-06-12 18:52:16 -06:00
Lin Yinfeng 2568e6df7a
crane.nix: Suppress warning of missing version attribute in Cargo.toml (#53) 2023-06-12 18:20:11 -06:00
Zhaofeng Li cb493f2982 crane.nix: Make attic-client actually contain the client only 2023-03-21 18:45:34 -06:00
Zhaofeng Li 63f64ee8c4 Revert bindgenHook workarounds
Fixed in https://github.com/NixOS/nixpkgs/pull/215060.

This reverts commit 365d739bca.
This reverts commit db443f1932.
This reverts commit 9869ab4a85.
2023-03-21 18:45:34 -06:00
Zhaofeng Li db443f1932 crane.nix: Also apply workaround to tests as well 2023-02-06 14:31:47 -07:00
Zhaofeng Li 9869ab4a85 Temporary workaround to fix bindgen on Darwin
https://github.com/NixOS/nixpkgs/pull/207352#issuecomment-1418363441
2023-02-06 13:54:21 -07:00
Zhaofeng Li 95378e13dc crane.nix: Add meta 2023-01-08 23:00:53 -07:00
Zhaofeng Li ffae7002b3 Explicitly specify the cranes to build 2023-01-08 00:57:22 -07:00
Zhaofeng Li 979108869d integration-tests: init 2023-01-06 00:59:38 -07:00
Zhaofeng Li 330f4e4ac7 Add NixOS module
Fixes #1. Still needs documentation though.
2023-01-06 00:59:35 -07:00
Zhaofeng Li 50e5ecb7f9 Migrate to Crane
The nixpkgs-acceptable package expression is still in `package.nix`.
2023-01-02 23:29:09 -07:00