openra: use python3

This commit is contained in:
Martin Weinelt 2022-09-23 17:35:09 +02:00
parent 61c9d7867b
commit 47f3427ce4
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -2,7 +2,7 @@
and out-of-tree mod packages (mod.nix).
*/
{ lib, makeSetupHook, curl, unzip, dos2unix, pkg-config, makeWrapper
, lua, mono, dotnetPackages, python2
, lua, mono, dotnetPackages, python3
, libGL, freetype, openal, SDL2
, zenity
}:
@ -10,7 +10,7 @@
with lib;
let
path = makeBinPath ([ mono python2 ] ++ optional (zenity != null) zenity);
path = makeBinPath ([ mono python3 ] ++ optional (zenity != null) zenity);
rpath = makeLibraryPath [ lua freetype openal SDL2 ];
mkdirp = makeSetupHook { } ./mkdirp.sh;
@ -66,7 +66,7 @@ in {
makeWrapper
mkdirp
mono
python2
python3
];
makeFlags = [ "prefix=$(out)" ];