mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
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 changed files with 2 additions and 2 deletions
|
@ -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 a new issue