diff options
Diffstat (limited to 'pkgs/games')
-rw-r--r-- | pkgs/games/gog/albion/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/games/gog/albion/default.nix b/pkgs/games/gog/albion/default.nix index 8ecc6e6e..09b8d39a 100644 --- a/pkgs/games/gog/albion/default.nix +++ b/pkgs/games/gog/albion/default.nix @@ -23,7 +23,10 @@ let nativeBuildInputs = [ autoreconfHook ]; buildInputs = [ alsaLib ]; patches = [ ./wildmidi-build-fixes.patch ]; - postPatch = "sed -i -e '/^CFLAGS/s/-pedantic//' configure.ac"; + postPatch = '' + sed -i -e '/^CFLAGS/s/-pedantic//' configure.ac + sed -i -e '/^wildmidi_libs *=/s!\$(top_builddir)/src/!!' src/Makefile.am + ''; }; compileMidiPlugin = variant: let |