Merge pull request #150049 from wamserma/crispy-doom-python
crispyDoom: move build dep to python3
This commit is contained in:
commit
014d67e073
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue