theforceengine: add withEditor flag

This commit is contained in:
Morgan Helton
2025-03-27 10:33:07 -05:00
parent 7745700a00
commit e9e91364a9
+2 -1
View File
@@ -12,6 +12,7 @@
cmake,
pkg-config,
zenity,
withEditor ? true,
}:
let
# package depends on SDL2main static library
@@ -48,7 +49,7 @@ stdenv.mkDerivation rec {
hardeningDisable = [ "format" ];
cmakeFlags = [
(lib.cmakeBool "ENABLE_EDITOR" true)
(lib.cmakeBool "ENABLE_EDITOR" withEditor)
];
prePatch = ''