about summary refs log tree commit diff
path: root/pkgs/games/tennix
diff options
context:
space:
mode:
authorRobert Schütz <nix@dotlambda.de>2022-01-11 23:40:02 +0000
committerRobert Schütz <nix@dotlambda.de>2022-01-16 18:39:59 +0000
commitd5cceedbd13767b1770c0baac001167f3bf6d5ae (patch)
treeefde5320c59f39bc8924eb0e7b2dfcaebe52388e /pkgs/games/tennix
parent9356c3472c3c0a31fb5d6b9640ef7c958f76795c (diff)
python,pythonPackages: make aliases
Since aliases are disallowed in nixpkgs, this makes usage of Python 2
which is EOL more explicit.
Diffstat (limited to 'pkgs/games/tennix')
-rw-r--r--pkgs/games/tennix/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/games/tennix/default.nix b/pkgs/games/tennix/default.nix
index f81ddb7edf953..809ed7a146d08 100644
--- a/pkgs/games/tennix/default.nix
+++ b/pkgs/games/tennix/default.nix
@@ -1,4 +1,4 @@
-{lib, stdenv, fetchurl, SDL, SDL_mixer, SDL_image, SDL_ttf, SDL_net, python } :
+{lib, stdenv, fetchurl, SDL, SDL_mixer, SDL_image, SDL_ttf, SDL_net, python2 } :
 
 stdenv.mkDerivation rec {
   pname = "tennix";
@@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
     sha256 = "0np5kw1y7i0z0dsqx4r2nvmq86qj8hv3mmgavm3hxraqnds5z8cm";
   };
 
-  buildInputs = [ python SDL SDL_mixer SDL_image SDL_ttf SDL_net ];
+  buildInputs = [ python2 SDL SDL_mixer SDL_image SDL_ttf SDL_net ];
 
   patches = [ ./fix_FTBFS.patch ];