Unverified Commit e9a8c68d authored by Stanisław Pitucha's avatar Stanisław Pitucha Committed by GitHub
Browse files

Merge pull request #304133 from viraptor/sssnake-darwin

sssnake: fix darwin build
parents e3ab9602 c7669c5e
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)"