mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 04:50:21 +00:00
libkrun: expose block option
This commit is contained in:
committed by
Nikodem Rabuliński
parent
d7dc981866
commit
6d23b102f4
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user