From 0d38f21c736a515e71f92bf899b57d1023d74ac2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Fri, 19 Nov 2010 23:10:41 +0000 Subject: [PATCH] Making the fossil build do the check phase. svn path=/nixpkgs/trunk/; revision=24780 --- .../version-management/fossil/default.nix | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/version-management/fossil/default.nix b/pkgs/applications/version-management/fossil/default.nix index c02d3c68fde..050e7c6b56f 100644 --- a/pkgs/applications/version-management/fossil/default.nix +++ b/pkgs/applications/version-management/fossil/default.nix @@ -1,4 +1,4 @@ -{stdenv, fetchurl, zlib, openssl}: +{stdenv, fetchurl, zlib, openssl, tcl}: let version = "20101117133825"; @@ -12,7 +12,16 @@ stdenv.mkDerivation { sha256 = "0h4g7qsbz5vyd3zxywcc2pf6vf3gavxqznpx8gn47j8y6mjp4byn"; }; - buildInputs = [ zlib openssl ]; + buildInputs = [ zlib openssl tcl ]; + buildNativeInputs = [ zlib openssl ]; + + doCheck = true; + + checkTarget = "test"; + + crossAttrs = { + doCheck = false; + }; installPhase = '' ensureDir $out/bin