diff options
author | Nikolay Amiantov <ab@fmap.me> | 2015-04-02 01:32:27 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2015-04-02 01:48:21 +0300 |
commit | 7a3780a675c3c1fe240efa9fd833cc501fadf779 (patch) | |
tree | 11df6e38609abaaa3d8d7e3829cdeb498362ecce | |
parent | 30a3175a31e6ae67870b6bcc99b1eb89db171779 (diff) |
crawl: fix build
-rw-r--r-- | pkgs/games/crawl/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/games/crawl/default.nix b/pkgs/games/crawl/default.nix index 7b153eab869a..e99df5e6c747 100644 --- a/pkgs/games/crawl/default.nix +++ b/pkgs/games/crawl/default.nix @@ -1,5 +1,5 @@ { stdenv, fetchFromGitHub, which, sqlite, lua5_1, perl, zlib, pkgconfig, ncurses -, dejavu_fonts, libpng, SDL, SDL_image, mesa, freetype +, dejavu_fonts, libpng, SDL2, SDL2_image, mesa, freetype , tileMode ? true }: @@ -21,14 +21,14 @@ stdenv.mkDerivation rec { # Still unstable with luajit buildInputs = [ lua5_1 zlib sqlite ncurses ] ++ stdenv.lib.optionals tileMode - [ libpng SDL SDL_image freetype mesa ]; + [ libpng SDL2 SDL2_image freetype mesa ]; preBuild = '' cd crawl-ref/source echo "${version}" > util/release_ver # Related to issue #1963 sed -i 's/-fuse-ld=gold//g' Makefile - for i in util/*.pl; do + for i in util/*; do patchShebangs $i done patchShebangs util/gen-mi-enum |