diff options
author | Nikolay Amiantov <ab@fmap.me> | 2016-08-24 17:09:44 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2016-08-24 17:09:54 +0300 |
commit | 58f532216f15260518c5db0a62d846bb3a2575a8 (patch) | |
tree | d56f9d4dc6df70e258e5ad01d2a2d1a159a9cdbb /pkgs/games/crawl | |
parent | e9f62d890ced13abee37a5e1398e922646d38912 (diff) |
crawl: fix build
Diffstat (limited to 'pkgs/games/crawl')
-rw-r--r-- | pkgs/games/crawl/crawl_purify.patch | 2 | ||||
-rw-r--r-- | pkgs/games/crawl/default.nix | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/games/crawl/crawl_purify.patch b/pkgs/games/crawl/crawl_purify.patch index bae82bebfb7ab..0e2d335adac26 100644 --- a/pkgs/games/crawl/crawl_purify.patch +++ b/pkgs/games/crawl/crawl_purify.patch @@ -7,7 +7,7 @@ index b7e2fbf..5ff23db 100644 ifndef CROSSHOST - SQLITE_INCLUDE_DIR := /usr/include -+ SQLITE_INCLUDE_DIR := ${sqlite.dev}/include ++ SQLITE_INCLUDE_DIR := ${sqlite}/include else # This is totally wrong, works only with some old-style setups, and # on some architectures of Debian/new FHS multiarch -- excluding, for diff --git a/pkgs/games/crawl/default.nix b/pkgs/games/crawl/default.nix index edaa3ef1fccf6..186768617f77e 100644 --- a/pkgs/games/crawl/default.nix +++ b/pkgs/games/crawl/default.nix @@ -30,6 +30,7 @@ stdenv.mkDerivation rec { patchShebangs $i done patchShebangs util/gen-mi-enum + rm -rf contrib ''; makeFlags = [ "prefix=$(out)" "FORCE_CC=gcc" "FORCE_CXX=g++" "HOSTCXX=g++" |