Commit f5c7a97d authored by Juuso Haavisto's avatar Juuso Haavisto Committed by sternenseemann
Browse files

cbqn: remove unnecessary darwin build flag

parent 53356655
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -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