Commit graph

9 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
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 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 4f597e62e2 package.nix: Use cargoLock 2023-01-14 23:55:10 -07:00
Zhaofeng Li ffae7002b3 Explicitly specify the cranes to build 2023-01-08 00:57:22 -07:00
Zhaofeng Li bb98d5f17c package.nix: Update cargoHash 2023-01-06 15:56:42 -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
Zhaofeng Li 5404345bc7 package.nix: Fix license 2023-01-01 20:59:02 -07:00
Zhaofeng Li 5aa1623dc2 Initial public commit 2022-12-31 17:01:07 -07:00