Merge pull request #189707 from nagy/chocolate-doom-man

authored by Sandro and committed by GitHub 8c796002 68065dc5

+11 -2
+11 -2
pkgs/games/chocolate-doom/default.nix
··· 1 - { lib, stdenv, autoreconfHook, pkg-config, SDL2, SDL2_mixer, SDL2_net, fetchFromGitHub, fetchpatch }: 1 + { lib, stdenv, autoreconfHook, pkg-config, SDL2, SDL2_mixer, SDL2_net 2 + , fetchFromGitHub, fetchpatch, python3 }: 2 3 3 4 stdenv.mkDerivation rec { 4 5 pname = "chocolate-doom"; ··· 21 22 }) 22 23 ]; 23 24 25 + outputs = [ "out" "man" ]; 26 + 24 27 postPatch = '' 25 28 sed -e 's#/games#/bin#g' -i src{,/setup}/Makefile.am 29 + patchShebangs --build man/{simplecpp,docgen} 26 30 ''; 27 31 28 - nativeBuildInputs = [ autoreconfHook pkg-config ]; 32 + nativeBuildInputs = [ 33 + autoreconfHook 34 + pkg-config 35 + # for documentation 36 + python3 37 + ]; 29 38 buildInputs = [ SDL2 SDL2_mixer SDL2_net ]; 30 39 enableParallelBuilding = true; 31 40