flake.nix: extract packages/devshells/modules into smaller files

This commit is contained in:
Jörg Thalheim 2025-11-03 17:14:28 +01:00
parent 6f7f3f2461
commit 505e85b9c5
9 changed files with 360 additions and 323 deletions

12
packages/muvm/default.nix Normal file
View file

@ -0,0 +1,12 @@
{ muvm, libkrun, systemd, rustPlatform }:
(muvm.override {
libkrun = libkrun;
}).overrideAttrs (old: {
postPatch = ""; # no more sysctl; udevd now takes the var anyway; XXX: fex
MUVM_UDEVD_PATH = "${systemd}/lib/systemd/systemd-udevd";
src = ../../muvm;
cargoDeps = rustPlatform.importCargoLock {
lockFile = ../../muvm/Cargo.lock;
};
})