From e79822050cb5b0f33333e13f4ccf1a31ec22fcb0 Mon Sep 17 00:00:00 2001 From: Ben Siraphob Date: Wed, 10 Mar 2021 19:00:33 +0700 Subject: [PATCH] midicsv: fix darwin build --- pkgs/tools/audio/midicsv/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/audio/midicsv/default.nix b/pkgs/tools/audio/midicsv/default.nix index f02f6ed956d6..cf55e0dd81d5 100644 --- a/pkgs/tools/audio/midicsv/default.nix +++ b/pkgs/tools/audio/midicsv/default.nix @@ -9,7 +9,9 @@ stdenv.mkDerivation rec { }; postPatch = '' - substituteInPlace Makefile --replace /usr/local $out + substituteInPlace Makefile \ + --replace /usr/local $out \ + --replace gcc "${stdenv.cc.targetPrefix}cc" ''; meta = with lib; { @@ -17,6 +19,6 @@ stdenv.mkDerivation rec { homepage = "http://www.fourmilab.ch/webtools/midicsv/"; license = licenses.publicDomain; maintainers = with maintainers; [ orivej ]; - platforms = platforms.linux; + platforms = platforms.all; }; }