cbqn: remove unnecessary darwin build flag

This commit is contained in:
Juuso Haavisto 2022-12-12 21:33:22 +02:00 committed by sternenseemann
parent 5335665577
commit f5c7a97d53

View File

@ -56,12 +56,7 @@ stdenv.mkDerivation rec {
${bqn-path} ./build/genRuntime ${mbqn-source} build/bytecodeLocal/
'' else ''
cp ${cbqn-bytecode-files}/src/gen/{compiles,explain,formatter,runtime0,runtime1,src} build/bytecodeLocal/gen/
'')
# 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")
'';
'');
installPhase = ''
runHook preInstall