sc-im: fix build on Darwin
This commit is contained in:
parent
65d005b5bf
commit
541a298cd8
@ -46,6 +46,8 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
makeFlags = [ "prefix=${placeholder "out"}" ];
|
makeFlags = [ "prefix=${placeholder "out"}" ];
|
||||||
|
|
||||||
|
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-error=implicit-function-declaration";
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
wrapProgram "$out/bin/sc-im" --prefix PATH : "${lib.makeBinPath [ gnuplot ]}"
|
wrapProgram "$out/bin/sc-im" --prefix PATH : "${lib.makeBinPath [ gnuplot ]}"
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user