From cc63bc5e92c4399aa0a6721acee4159681d124b1 Mon Sep 17 00:00:00 2001 From: Bojun Ren Date: Wed, 16 Oct 2024 18:30:07 +0800 Subject: [PATCH] yodl: fix darwin support --- pkgs/by-name/yo/yodl/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/yo/yodl/package.nix b/pkgs/by-name/yo/yodl/package.nix index 57ce8ae6890e2..84fa3acb571d6 100644 --- a/pkgs/by-name/yo/yodl/package.nix +++ b/pkgs/by-name/yo/yodl/package.nix @@ -33,6 +33,8 @@ stdenv.mkDerivation (finalAttrs: { postPatch = '' patchShebangs ./build ./scripts/ substituteInPlace INSTALL.im \ + --replace "gcc" "$CC" \ + --replace "g++" "$CXX" \ --replace "/usr" "$out" substituteInPlace macros/rawmacros/startdoc.pl \ --replace "/usr/bin/perl" "${lib.getExe perl}"