fossil: Remove crossAttrs

TCC= (and BCC=) no longer needed as new Makefile defines with CC (and
CC_FOR_BUILD).
This commit is contained in:
John Ericson 2018-05-10 02:20:53 -04:00
parent ae429f8e55
commit a1f4d033dd

View File

@ -1,5 +1,7 @@
{stdenv, libiconv, fetchurl, zlib, openssl, tcl, readline, sqlite, ed, which
, tcllib, withJson ? true}:
{ stdenv
, libiconv, fetchurl, zlib, openssl, tcl, readline, sqlite, ed, which
, tcllib, withJson ? true
}:
stdenv.mkDerivation rec {
name = "fossil-${version}";
@ -18,11 +20,11 @@ stdenv.mkDerivation rec {
++ stdenv.lib.optional stdenv.isDarwin libiconv;
nativeBuildInputs = [ tcl ];
doCheck = true;
doCheck = stdenv.hostPlatform == stdenv.buildPlatform;
checkTarget = "test";
preCheck = ''
preCheck = stdenv.lib.optional doCheck ''
export TCLLIBPATH="${tcllib}/lib/tcllib${tcllib.version}"
'';
configureFlags = if withJson then "--json" else "";
@ -36,11 +38,6 @@ stdenv.mkDerivation rec {
INSTALLDIR=$out/bin make install
'';
crossAttrs = {
doCheck = false;
makeFlags = [ "TCC=$CC" ];
};
meta = {
description = "Simple, high-reliability, distributed software configuration management";
longDescription = ''