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

19 commits

Author SHA1 Message Date
Zhaofeng Li
b3a76bc237 package: Add mainProgram 2024-10-29 12:23:15 -06:00
Zhaofeng Li
89cefcd501 flake: Follow package Nix version in dev shell 2024-09-11 11:10:46 -04:00
Zhaofeng Li
f5463eccc0 crane: Ignore flake directory 2024-09-11 09:59:49 -04:00
Zhaofeng Li
0f981dab00 crane: Add overrides for cross compilation 2024-09-11 09:59:49 -04:00
Zhaofeng Li
b63394302f flake: Add escape hatch to inject package args 2024-09-11 09:59:49 -04:00
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
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