diff options
author | wnklmnn <pascal@wnklmnn.de> | 2023-05-19 02:33:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-19 02:33:35 +0200 |
commit | 3c6423d3211c8d1354a23bd230a73d4452ab1cc4 (patch) | |
tree | 02e95a646a8ec3b40db048853ad40ef58cf5335a /pkgs/games/crossfire | |
parent | d6c1f83e991f456821e9c1fd4c78463dfd26de2f (diff) | |
download | nixpkgs-3c6423d3211c8d1354a23bd230a73d4452ab1cc4.tar nixpkgs-3c6423d3211c8d1354a23bd230a73d4452ab1cc4.tar.gz nixpkgs-3c6423d3211c8d1354a23bd230a73d4452ab1cc4.tar.bz2 nixpkgs-3c6423d3211c8d1354a23bd230a73d4452ab1cc4.tar.lz nixpkgs-3c6423d3211c8d1354a23bd230a73d4452ab1cc4.tar.xz nixpkgs-3c6423d3211c8d1354a23bd230a73d4452ab1cc4.tar.zst nixpkgs-3c6423d3211c8d1354a23bd230a73d4452ab1cc4.zip |
crossfire-server: Use python39 instead of python3 (#232282)
Apperently the parser used by crossfire was remove in python 3.10. https://bugs.python.org/issue40939
Diffstat (limited to 'pkgs/games/crossfire')
-rw-r--r-- | pkgs/games/crossfire/crossfire-server.nix | 25 |
1 files changed, 20 insertions, 5 deletions
diff --git a/pkgs/games/crossfire/crossfire-server.nix b/pkgs/games/crossfire/crossfire-server.nix index f99e08a5a46..9827aa76c52 100644 --- a/pkgs/games/crossfire/crossfire-server.nix +++ b/pkgs/games/crossfire/crossfire-server.nix @@ -1,6 +1,21 @@ -{ stdenv, lib, fetchsvn, autoreconfHook, - autoconf, automake, libtool, flex, perl, check, pkg-config, python3, - version, rev, sha256, maps, arch }: +{ stdenv +, lib +, fetchsvn +, autoreconfHook +, autoconf +, automake +, libtool +, flex +, perl +, check +, pkg-config +, python39 # crossfire-server relies on a parser wich was removed in python >3.9 +, version +, rev +, sha256 +, maps +, arch +}: stdenv.mkDerivation rec { pname = "crossfire-server"; @@ -12,7 +27,7 @@ stdenv.mkDerivation rec { rev = "r${rev}"; }; - nativeBuildInputs = [ autoconf automake libtool flex perl check pkg-config python3 ]; + nativeBuildInputs = [ autoconf automake libtool flex perl check pkg-config python39 ]; hardeningDisable = [ "format" ]; preConfigure = '' @@ -21,7 +36,7 @@ stdenv.mkDerivation rec { sh autogen.sh ''; - configureFlags = [ "--with-python=${python3}" ]; + configureFlags = [ "--with-python=${python39}" ]; postInstall = '' ln -s ${maps} "$out/share/crossfire/maps" |