diff options
author | Markus S. Wamser <github-dev@mail2013.wamser.eu> | 2021-12-10 12:59:18 +0100 |
---|---|---|
committer | Markus S. Wamser <github-dev@mail2013.wamser.eu> | 2021-12-10 12:59:18 +0100 |
commit | 4d60d9d491f2e018197801d4541073e9f9f90810 (patch) | |
tree | 3fbf48f3c35fe013a414386439b12c11007fcc73 /pkgs/games/crispy-doom | |
parent | 1dfc4c3edfde08c9a449bbf3eadcf0abe243ca6c (diff) |
crispyDoom: move build dep to python3
Diffstat (limited to 'pkgs/games/crispy-doom')
-rw-r--r-- | pkgs/games/crispy-doom/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/games/crispy-doom/default.nix b/pkgs/games/crispy-doom/default.nix index fea0d620a701..c507332399ab 100644 --- a/pkgs/games/crispy-doom/default.nix +++ b/pkgs/games/crispy-doom/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, autoreconfHook, pkg-config, SDL2, SDL2_mixer, SDL2_net, fetchFromGitHub, python2 }: +{ lib, stdenv, autoreconfHook, pkg-config, SDL2, SDL2_mixer, SDL2_net, fetchFromGitHub, python3 }: stdenv.mkDerivation rec { pname = "crispy-doom"; @@ -13,10 +13,10 @@ stdenv.mkDerivation rec { postPatch = '' sed -e 's#/games#/bin#g' -i src{,/setup}/Makefile.am - for script in $(grep -lr '^#!/usr/bin/env python$'); do patchShebangs $script; done + for script in $(grep -lr '^#!/usr/bin/env python3$'); do patchShebangs $script; done ''; - nativeBuildInputs = [ autoreconfHook pkg-config python2 ]; + nativeBuildInputs = [ autoreconfHook pkg-config python3 ]; buildInputs = [ SDL2 SDL2_mixer SDL2_net ]; enableParallelBuilding = true; |