1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 11:40:45 +00:00

Merge pull request #317948 from NixOS/backport-317717-to-release-24.05

[Backport release-24.05] cpcfs: fix darwin build
This commit is contained in:
Stanisław Pitucha 2024-06-07 20:40:49 +10:00 committed by GitHub
commit ca3a72b763
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -16,6 +16,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ makeWrapper ncurses readline ronn ];
env.NIX_CFLAGS_COMPILE = "-std=gnu89";
postPatch = ''
substituteInPlace Makefile \
--replace '-ltermcap' '-lncurses' \