From 241d2d4d72380ecd674aff1daa8158cfb4ea1f58 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 15 Nov 2023 17:20:29 +0100 Subject: bfs: fix build on darwin --- pkgs/tools/system/bfs/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/system/bfs/default.nix b/pkgs/tools/system/bfs/default.nix index 757e6bcd9dd..17f6af921c7 100644 --- a/pkgs/tools/system/bfs/default.nix +++ b/pkgs/tools/system/bfs/default.nix @@ -15,7 +15,7 @@ stdenv.mkDerivation rec { # Disable LTO on darwin. See https://github.com/NixOS/nixpkgs/issues/19098 preConfigure = lib.optionalString stdenv.isDarwin '' - substituteInPlace Makefile --replace "-flto" "" + substituteInPlace GNUMakefile --replace "-flto=auto" "" ''; makeFlags = [ "PREFIX=$(out)" ]; -- cgit 1.4.1