ldmud: fix build, remove Python310

This commit is contained in:
Diego
2026-02-14 18:30:21 +01:00
parent e99a3306e1
commit 1f45aafbae
+6 -2
View File
@@ -23,7 +23,7 @@
tlsSupport ? false,
openssl,
pythonSupport ? false,
python310,
python3,
}:
stdenv.mkDerivation (finalAttrs: {
@@ -61,7 +61,7 @@ stdenv.mkDerivation (finalAttrs: {
++ lib.optional postgresSupport libpq
++ lib.optional sqliteSupport sqlite
++ lib.optional tlsSupport openssl
++ lib.optional pythonSupport python310
++ lib.optional pythonSupport python3
++ lib.optionals stdenv.hostPlatform.isDarwin [ libiconv ];
# To support systems without autoconf LD puts its configure.ac in a non-default
@@ -94,6 +94,10 @@ stdenv.mkDerivation (finalAttrs: {
export LDFLAGS="$LDFLAGS -L${libiconv}/lib -liconv"
'';
env.NIX_CFLAGS_COMPILE =
# Required for legacy C code in source
"-std=gnu99";
installTargets = [
"install-driver"
"install-utils"