libvncserver: opt-in to build examples
This commit is contained in:
@@ -12,6 +12,7 @@
|
|||||||
systemd,
|
systemd,
|
||||||
|
|
||||||
enableShared ? !stdenv.hostPlatform.isStatic,
|
enableShared ? !stdenv.hostPlatform.isStatic,
|
||||||
|
buildExamples ? false,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
@@ -42,6 +43,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
(lib.cmakeBool "WITH_SYSTEMD" withSystemd)
|
(lib.cmakeBool "WITH_SYSTEMD" withSystemd)
|
||||||
(lib.cmakeBool "BUILD_SHARED_LIBS" enableShared)
|
(lib.cmakeBool "BUILD_SHARED_LIBS" enableShared)
|
||||||
|
(lib.cmakeBool "WITH_EXAMPLES" buildExamples)
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
|
|||||||
Reference in New Issue
Block a user