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

Merge pull request #209018 from wegank/solicurses-darwin

solicurses: unbreak on darwin
This commit is contained in:
Thiago Kenji Okada 2023-01-08 12:08:29 +00:00 committed by GitHub
commit fe1bb44eee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;
};
}