1
0
Fork 0
mirror of https://github.com/zhaofengli/attic.git synced 2024-12-14 11:57:30 +00:00
Commit graph

12 commits

Author SHA1 Message Date
Winter
657db64e51 Fix build on Nix 2.19+
Nix 2.19 introduced a change [0] that broke how we compile our libnixstore
bindings, which requires adding an additional include directory when
we compile them.

[0]: b461cac21a
2024-03-29 11:59:20 -06:00
Winter
8e64f8ba45 Revert "Fix build on Darwin"
This reverts commit bdafd64910, as this
workaround is no longer required on newer Nixpkgs.
2024-03-27 17:20:19 -04:00
Zhaofeng Li
bdafd64910 Fix build on Darwin
Working around https://github.com/NixOS/nixpkgs/issues/166205
2023-12-19 00:04:32 -07:00
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