From 6f5203d50c6de3e58e2ebdca88b59fceda2e9b4a Mon Sep 17 00:00:00 2001 From: Reno Dakota <170618376+paparodeo@users.noreply.github.com> Date: Thu, 24 Oct 2024 07:02:16 +0000 Subject: [PATCH] chibi: fix darwin add libutil as required by link step --- pkgs/development/interpreters/chibi/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/interpreters/chibi/default.nix b/pkgs/development/interpreters/chibi/default.nix index 9cdd21a6b955..09ffa3ca2128 100644 --- a/pkgs/development/interpreters/chibi/default.nix +++ b/pkgs/development/interpreters/chibi/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchFromGitHub, makeWrapper }: +{ lib, stdenv, fetchFromGitHub, makeWrapper, darwin }: stdenv.mkDerivation rec { version = "0.11"; @@ -13,6 +13,8 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ makeWrapper ]; + buildInputs = lib.optional stdenv.hostPlatform.isDarwin darwin.libutil; + installPhase = '' make install PREFIX="$out" '';