solicurses: unbreak on darwin

This commit is contained in:
Weijia Wang 2023-01-04 11:35:37 +01:00
parent 83481b8708
commit 8e4ef13ceb

View file

@ -23,6 +23,10 @@ stdenv.mkDerivation {
cd build
'';
makeFlags = [
"CC=${stdenv.cc.targetPrefix}c++"
];
installPhase = ''
install -D SoliCurses.out $out/bin/solicurses
'';
@ -33,7 +37,5 @@ stdenv.mkDerivation {
maintainers = with maintainers; [ laalsaas ];
license = licenses.gpl3Only;
inherit (ncurses.meta) platforms;
# never built on aarch64-darwin, x86_64-darwin since first introduction in nixpkgs
broken = stdenv.isDarwin;
};
}