From 19af5d54d1be81f06016656d0b06f98306c898f6 Mon Sep 17 00:00:00 2001 From: Alexis Hildebrandt Date: Thu, 6 Jul 2023 10:55:57 +0200 Subject: [PATCH] psutils: fix build on Darwin --- pkgs/tools/typesetting/psutils/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/tools/typesetting/psutils/default.nix b/pkgs/tools/typesetting/psutils/default.nix index c7f68f2bd52b..6588b5c5b284 100644 --- a/pkgs/tools/typesetting/psutils/default.nix +++ b/pkgs/tools/typesetting/psutils/default.nix @@ -15,6 +15,8 @@ stdenv.mkDerivation rec { Makefile.unix > Makefile ''; + makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ]; + preInstall = '' mkdir -p $out/bin $out/share/man/man1 '';