nix: devShell: add packages for proxy development
This commit is contained in:
parent
2d7860294d
commit
447ccad362
1 changed files with 40 additions and 12 deletions
|
|
@ -1,17 +1,45 @@
|
|||
{ mkShell, lib, systemd, cargo, rust-analyzer, rustfmt, passt, bubblewrap, libkrun, muvm, sidebus-broker }:
|
||||
{
|
||||
mkShell,
|
||||
lib,
|
||||
systemd,
|
||||
cargo,
|
||||
rust-analyzer,
|
||||
rustfmt,
|
||||
passt,
|
||||
bubblewrap,
|
||||
libkrun,
|
||||
muvm,
|
||||
sidebus-broker,
|
||||
pkgs,
|
||||
}:
|
||||
|
||||
let
|
||||
projects = [ libkrun muvm ];
|
||||
in mkShell {
|
||||
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
|
||||
sidebus-broker
|
||||
];
|
||||
buildInputs =
|
||||
(lib.concatMap (pkg: pkg.buildInputs) projects)
|
||||
++ [
|
||||
# virglrenderer
|
||||
cargo
|
||||
rust-analyzer
|
||||
rustfmt
|
||||
passt
|
||||
bubblewrap
|
||||
sidebus-broker
|
||||
]
|
||||
++ (with pkgs; [
|
||||
meson
|
||||
wayland
|
||||
wayland-protocols
|
||||
wayland-scanner
|
||||
cairo
|
||||
libgbm
|
||||
]);
|
||||
# Enough things to compile wl-cross-domain-proxy, muvm, etc. in development
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue