libkrun: expose block option

This commit is contained in:
Tristan Ross
2025-04-23 10:36:30 +02:00
committed by Nikodem Rabuliński
parent d7dc981866
commit 6d23b102f4
+2
View File
@@ -13,6 +13,7 @@
virglrenderer,
libkrunfw,
rustc,
withBlk ? false,
withGpu ? false,
withSound ? false,
withNet ? false,
@@ -65,6 +66,7 @@ stdenv.mkDerivation (finalAttrs: {
[
"PREFIX=${placeholder "out"}"
]
++ lib.optional withBlk "BLK=1"
++ lib.optional withGpu "GPU=1"
++ lib.optional withSound "SND=1"
++ lib.optional withNet "NET=1"