cbqn: drop obsolete darwin flags

This was already done in f5c7a97d53, but
reverted later by accident.
This commit is contained in:
sternenseemann 2022-12-30 18:48:53 +01:00
parent 2f3f2c82c8
commit c7667f198f

View File

@ -45,7 +45,6 @@ stdenv.mkDerivation rec {
pkg-config
];
# TODO(@sternenseemann): allow building against dzaima's replxx fork
buildInputs = [
libffi
];
@ -79,11 +78,6 @@ stdenv.mkDerivation rec {
'')
+ lib.optionalString enableReplxx ''
cp -r ${replxx-submodule} build/replxxLocal/
''
# Need to adjust ld flags for darwin manually
# https://github.com/dzaima/CBQN/issues/26
+ lib.optionalString stdenv.hostPlatform.isDarwin ''
makeFlagsArray+=(LD_LIBS="-ldl -lffi")
'';
outputs = [