1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00

sssnake: fix darwin build

This commit is contained in:
Stanisław Pitucha 2024-04-15 10:49:57 +10:00
parent 1f54fa2ddf
commit c7669c5efa

View file

@ -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)"