From f5c7a97d534a6cd0a5774e9f3a5fd045f998374d Mon Sep 17 00:00:00 2001 From: Juuso Haavisto Date: Mon, 12 Dec 2022 21:33:22 +0200 Subject: [PATCH] cbqn: remove unnecessary darwin build flag --- pkgs/development/interpreters/bqn/cbqn/default.nix | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/pkgs/development/interpreters/bqn/cbqn/default.nix b/pkgs/development/interpreters/bqn/cbqn/default.nix index a1aad41fe973..1766c45995a3 100644 --- a/pkgs/development/interpreters/bqn/cbqn/default.nix +++ b/pkgs/development/interpreters/bqn/cbqn/default.nix @@ -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