16 lines
437 B
Nix
16 lines
437 B
Nix
{ mkShell, lib, systemd, cargo, rust-analyzer, rustfmt, passt, bubblewrap, libkrun, muvm }:
|
|
|
|
let
|
|
projects = [ libkrun muvm ];
|
|
in mkShell {
|
|
MUVM_UDEVD_PATH = "${systemd}/lib/systemd/systemd-udevd";
|
|
nativeBuildInputs = lib.concatMap (pkg: pkg.nativeBuildInputs) projects;
|
|
buildInputs = (lib.concatMap (pkg: pkg.buildInputs) projects) ++ [
|
|
# virglrenderer
|
|
cargo
|
|
rust-analyzer
|
|
rustfmt
|
|
passt
|
|
bubblewrap
|
|
];
|
|
}
|