Merge pull request #192635 from mweinelt/openra-python3

openra: use python3
This commit is contained in:
superherointj 2022-09-23 16:59:04 -03:00 committed by GitHub
commit 19a4cf250e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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)" ];