feat(nix): flake-parts, first draft

This commit is contained in:
aviac
2025-09-24 14:33:20 +02:00
committed by Jade Ellis
parent cb7875e479
commit 68bea1816f
18 changed files with 757 additions and 1040 deletions
+25
View File
@@ -0,0 +1,25 @@
{ inputs, ... }:
{
perSystem =
{
self',
lib,
pkgs,
...
}:
let
uwulib = inputs.self.uwulib.init pkgs;
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
self'.packages.rust-jemalloc-sys-unprefixed'
self'.packages.rocksdbAllFeatures
];
env.LIBCLANG_PATH = lib.makeLibraryPath [ pkgs.llvmPackages.libclang.lib ];
};
};
}