Merge pull request #217677 from ncfavier/unfuck

dwarf-fortress: unfuck unfuck
This commit is contained in:
Naïm Favier 2023-02-22 13:52:38 +01:00 committed by GitHub
commit c0745887c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -82,6 +82,11 @@ stdenv.mkDerivation {
sha256 = release.sha256;
};
postPatch = ''
# https://github.com/svenstaro/dwarf_fortress_unfuck/pull/27
substituteInPlace CMakeLists.txt --replace \''${GLEW_LIBRARIES} GLEW::glew
'';
cmakeFlags = [
"-DGTK2_GLIBCONFIG_INCLUDE_DIR=${glib.out}/lib/glib-2.0/include"
"-DGTK2_GDKCONFIG_INCLUDE_DIR=${gtk2.out}/lib/gtk-2.0/include"