summary refs log tree commit diff
path: root/pkgs/games/ultrastardx/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/games/ultrastardx/default.nix')
-rw-r--r--pkgs/games/ultrastardx/default.nix3
1 files changed, 2 insertions, 1 deletions
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
   '';