From fbda7ca802b371c089202bd49e8e7fb1de012027 Mon Sep 17 00:00:00 2001 From: Vladimír Čunát Date: Mon, 3 Jun 2019 09:52:52 +0200 Subject: ultrastardx: fixup compilation It starts for me now, so hopefully it's just OK. --- pkgs/games/ultrastardx/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pkgs/games/ultrastardx') diff --git a/pkgs/games/ultrastardx/default.nix b/pkgs/games/ultrastardx/default.nix index 2e9b3cf8d8c..f3eec52098d 100644 --- a/pkgs/games/ultrastardx/default.nix +++ b/pkgs/games/ultrastardx/default.nix @@ -23,9 +23,10 @@ in stdenv.mkDerivation rec { nativeBuildInputs = [ pkgconfig autoreconfHook ]; buildInputs = [ fpc libpng ] ++ sharedLibs; + # https://github.com/UltraStar-Deluxe/USDX/issues/462 postPatch = '' - # autoconf substitutes strange things otherwise substituteInPlace src/config.inc.in \ + --subst-var-by lua_LIB_NAME liblua.so \ --subst-var-by libpcre_LIBNAME libpcre.so.1 ''; -- cgit 1.4.1