mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-05-26 20:49:55 +00:00
28 lines
563 B
Nix
28 lines
563 B
Nix
{
|
|
self,
|
|
...
|
|
}:
|
|
{
|
|
perSystem =
|
|
{
|
|
self',
|
|
pkgs,
|
|
craneLib,
|
|
...
|
|
}:
|
|
{
|
|
packages = {
|
|
rocksdb = pkgs.callPackage ./rocksdb.nix { };
|
|
default = pkgs.callPackage ./continuwuity.nix { inherit self craneLib; };
|
|
# users may also override this with other cargo profiles to build for other feature sets
|
|
#
|
|
# other examples include:
|
|
#
|
|
# - release-high-perf
|
|
max-perf = self'.packages.default.override {
|
|
profile = "release-max-perf";
|
|
};
|
|
};
|
|
};
|
|
}
|