sssnake: fix darwin build
This commit is contained in:
parent
1f54fa2ddf
commit
c7669c5efa
1 changed files with 3 additions and 0 deletions
|
@ -13,6 +13,9 @@ stdenv.mkDerivation rec {
|
|||
rev = "v${version}";
|
||||
hash = "sha256-zkErOV6Az0kJdwyXzMCnVW1997zpAB79TBvf/41Igic=";
|
||||
};
|
||||
postPatch = ''
|
||||
substituteInPlace makefile --replace '-lncursesw' '-lncursesw -D_XOPEN_SOURCE=500'
|
||||
'';
|
||||
buildInputs = [ncurses];
|
||||
makeFlags = [
|
||||
"PREFIX=$(out)"
|
||||
|
|
Loading…
Reference in a new issue