ttyrec: fix build on Darwin (#27500)
* ttyrec: fix build on Darwin * ttyrec: remove pointless empty list
This commit is contained in:
parent
e1c57c4698
commit
010163d04d
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl }:
|
||||
{ stdenv, fetchurl, buildPlatform }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ttyrec-${version}";
|
||||
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
patches = [ ./clang-fixes.patch ];
|
||||
|
||||
makeFlags = [ "CFLAGS=-DSVR4" ]
|
||||
makeFlags = stdenv.lib.optional buildPlatform.isLinux "CFLAGS=-DSVR4"
|
||||
++ stdenv.lib.optional stdenv.cc.isClang "CC=clang";
|
||||
|
||||
installPhase = ''
|
||||
|
Loading…
Reference in New Issue
Block a user