continuwuity/nix/shells/default.nix
Henry-Hiles 300b6d81e7
All checks were successful
Documentation / Build and Deploy Documentation (push) Successful in 1m37s
Checks / Prek / Pre-commit & Formatting (push) Successful in 3m33s
Checks / Prek / Clippy and Cargo Tests (push) Successful in 11m37s
Release Docker Image / Build linux-amd64 (release) (push) Successful in 14m53s
Release Docker Image / Build linux-arm64 (release) (push) Successful in 11m47s
Release Docker Image / Create Multi-arch Release Manifest (push) Successful in 25s
Release Docker Image / Build linux-amd64 (max-perf) (push) Successful in 34m59s
Release Docker Image / Build linux-arm64 (max-perf) (push) Successful in 31m10s
Release Docker Image / Create Max-Perf Manifest (push) Successful in 22s
feat(nix): add NPM to devshell
2026-03-25 12:55:49 +00:00

29 lines
717 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.nodejs
pkgs.pkg-config
pkgs.liburing
pkgs.rust-jemalloc-sys-unprefixed
rocksdbAllFeatures
];
env.LIBCLANG_PATH = lib.makeLibraryPath [ pkgs.llvmPackages.libclang.lib ];
};
};
}