mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
stepmania: fix on i686
This commit is contained in:
parent
9ad60eae48
commit
a75eb513c6
@ -1,4 +1,4 @@
|
||||
{ stdenv, lib, fetchFromGitHub, cmake, nasm
|
||||
{ stdenv, lib, fetchpatch, fetchFromGitHub, cmake, nasm
|
||||
, gtk2, glib, ffmpeg, alsaLib, libmad, libogg, libvorbis
|
||||
, glew, libpulseaudio
|
||||
}:
|
||||
@ -27,6 +27,14 @@ stdenv.mkDerivation rec {
|
||||
"-DGTK2_GLIBCONFIG_INCLUDE_DIR=${glib}/lib/glib-2.0/include"
|
||||
];
|
||||
|
||||
patches = [
|
||||
# Fix compilation on i686
|
||||
(fetchpatch {
|
||||
url = "https://github.com/stepmania/stepmania/commit/f1e114aa03c90884946427bb43a75badec21f163.patch";
|
||||
sha256 = "1cm14w92dilqvlyqfffiihf09ra97hxzgfal5gx08brc3j1yyzdw";
|
||||
})
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/bin
|
||||
ln -s $out/stepmania-5.0/stepmania $out/bin/stepmania
|
||||
|
Loading…
Reference in New Issue
Block a user