ldmud: fix build, remove Python310
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user