mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
Merge pull request #304133 from viraptor/sssnake-darwin
sssnake: fix darwin build
This commit is contained in:
commit
e9a8c68d2c
@ -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 New Issue
Block a user