diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2021-03-25 10:17:50 +0100 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2021-03-25 10:17:50 +0100 |
commit | 52dc628b43acbe3d1c28773f8ceddfb78cfae630 (patch) | |
tree | 85783db33f0d709182d9c182f3cb65bdd6f0be97 /pkgs/games | |
parent | 6eea374b40b6e0012142e504f46e034f4154ba9d (diff) |
20kly: use python2
Diffstat (limited to 'pkgs/games')
-rw-r--r-- | pkgs/games/20kly/default.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/games/20kly/default.nix b/pkgs/games/20kly/default.nix index 092e0e4eac273..7cc2ea6220ee5 100644 --- a/pkgs/games/20kly/default.nix +++ b/pkgs/games/20kly/default.nix @@ -1,12 +1,12 @@ { lib , fetchurl -, python }: +, python2 }: -python.pkgs.buildPythonApplication rec { +python2.pkgs.buildPythonApplication rec { pname = "20kly"; version = "1.4"; format = "other"; - disabled = !(python.isPy2 or false); + disabled = !(python2.isPy2 or false); src = fetchurl { url = "http://jwhitham.org.uk/20kly/lightyears-${version}.tar.bz2"; @@ -20,7 +20,7 @@ python.pkgs.buildPythonApplication rec { "LIGHTYEARS_DIR = \"$out/share\"" ''; - propagatedBuildInputs = with python.pkgs; [ pygame ]; + propagatedBuildInputs = with python2.pkgs; [ pygame ]; buildPhase = "python -O -m compileall ."; |