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