Some checks failed
Documentation / Build and Deploy Documentation (push) Successful in 2m19s
Checks / Prek / Pre-commit & Formatting (push) Successful in 3m57s
Release Docker Image / Build linux-amd64 (release) (push) Has been cancelled
Checks / Prek / Clippy and Cargo Tests (push) Has been cancelled
Release Docker Image / Build linux-arm64 (release) (push) Has been cancelled
Release Docker Image / Create Multi-arch Release Manifest (push) Has been cancelled
Release Docker Image / Build linux-amd64 (max-perf) (push) Has been cancelled
Release Docker Image / Build linux-arm64 (max-perf) (push) Has been cancelled
Release Docker Image / Create Max-Perf Manifest (push) Has been cancelled
28 lines
695 B
Nix
28 lines
695 B
Nix
{ inputs, ... }:
|
|
{
|
|
perSystem =
|
|
{
|
|
self',
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
let
|
|
uwulib = inputs.self.uwulib.init pkgs;
|
|
rocksdbAllFeatures = self'.packages.rocksdb.override {
|
|
enableJemalloc = true;
|
|
};
|
|
in
|
|
{
|
|
# basic nix shell containing all things necessary to build continuwuity in all flavors manually (on x86_64-linux)
|
|
devShells.default = uwulib.build.craneLib.devShell {
|
|
packages = [
|
|
pkgs.pkg-config
|
|
pkgs.liburing
|
|
pkgs.rust-jemalloc-sys-unprefixed
|
|
rocksdbAllFeatures
|
|
];
|
|
env.LIBCLANG_PATH = lib.makeLibraryPath [ pkgs.llvmPackages.libclang.lib ];
|
|
};
|
|
};
|
|
}
|