Commit c7669c5e authored by Stanisław Pitucha's avatar Stanisław Pitucha
Browse files

sssnake: fix darwin build

parent 1f54fa2d
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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)"