zod: Fix build
This commit is contained in:
parent
94fa59228a
commit
a25ded05d8
@ -14,6 +14,8 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0gmg4ppr4y6ck04mandlp2fmdcyssmck999m012jx5v1rm57g2hn";
|
sha256 = "0gmg4ppr4y6ck04mandlp2fmdcyssmck999m012jx5v1rm57g2hn";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
hardeningDisable = [ "format" ];
|
||||||
|
|
||||||
unpackPhase = ''
|
unpackPhase = ''
|
||||||
mkdir src
|
mkdir src
|
||||||
pushd src
|
pushd src
|
||||||
@ -22,10 +24,9 @@ stdenv.mkDerivation rec {
|
|||||||
sourceRoot=`pwd`/src
|
sourceRoot=`pwd`/src
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [ unrar unzip SDL SDL_image SDL_ttf SDL_mixer libmysql
|
buildInputs = [ unrar unzip SDL SDL_image SDL_ttf SDL_mixer libmysql makeWrapper ];
|
||||||
makeWrapper ];
|
|
||||||
|
|
||||||
NIX_LDFLAGS="-L${stdenv.lib.getLib libmysql}/lib/mysql";
|
NIX_LDFLAGS = "-L${stdenv.lib.getLib libmysql}/lib/mysql";
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin $out/share/zod
|
mkdir -p $out/bin $out/share/zod
|
||||||
|
Loading…
Reference in New Issue
Block a user