sc-im: fix build on Darwin

This commit is contained in:
Robert Schütz 2024-06-27 02:13:55 -07:00
parent 65d005b5bf
commit 541a298cd8

View File

@ -46,6 +46,8 @@ stdenv.mkDerivation rec {
makeFlags = [ "prefix=${placeholder "out"}" ];
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-error=implicit-function-declaration";
postInstall = ''
wrapProgram "$out/bin/sc-im" --prefix PATH : "${lib.makeBinPath [ gnuplot ]}"
'';