continuwuity/nix/shells/default.nix
aviac ec3564e8aa
All checks were successful
Documentation / Build and Deploy Documentation (pull_request) Has been skipped
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 1m34s
Update flake hashes / update-flake-hashes (pull_request) Successful in 53s
Documentation / Build and Deploy Documentation (push) Successful in 1m3s
Release Docker Image / Build linux-amd64 (release) (pull_request) Successful in 5m29s
Checks / Prek / Pre-commit & Formatting (push) Successful in 2m38s
Release Docker Image / Build linux-arm64 (release) (pull_request) Successful in 6m49s
Release Docker Image / Build linux-amd64 (release) (push) Successful in 6m53s
Release Docker Image / Create Multi-arch Release Manifest (pull_request) Successful in 8s
Release Docker Image / Build linux-arm64 (release) (push) Successful in 6m44s
Checks / Prek / Clippy and Cargo Tests (push) Successful in 10m30s
Release Docker Image / Create Multi-arch Release Manifest (push) Successful in 17s
Checks / Prek / Clippy and Cargo Tests (pull_request) Successful in 28m34s
Release Docker Image / Build linux-amd64 (max-perf) (pull_request) Successful in 15m12s
Release Docker Image / Build linux-arm64 (max-perf) (pull_request) Successful in 15m4s
Release Docker Image / Create Max-Perf Manifest (pull_request) Successful in 7s
Release Docker Image / Build linux-amd64 (max-perf) (push) Successful in 23m34s
Release Docker Image / Build linux-arm64 (max-perf) (push) Successful in 12m19s
Release Docker Image / Create Max-Perf Manifest (push) Successful in 16s
chore: use upstream rust-jemalloc-sys-unprefixed after flake.lock update
2025-10-27 12:55:21 +00:00

29 lines
726 B
Nix

{ inputs, ... }:
{
perSystem =
{
self',
lib,
pkgs,
...
}:
let
uwulib = inputs.self.uwulib.init pkgs;
rocksdbAllFeatures = self'.packages.rocksdb.override {
enableJemalloc = true;
enableLiburing = 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 ];
};
};
}