summary refs log tree commit diff
path: root/pkgs/applications/version-management/fossil
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-11-19 23:10:41 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-11-19 23:10:41 +0000
commit0d38f21c736a515e71f92bf899b57d1023d74ac2 (patch)
treec95b8b73b8f0e538552b5d6651e34b310a9548e3 /pkgs/applications/version-management/fossil
parentfcdc36c848f92a684540c628e76c951a3d87fe08 (diff)
downloadnixpkgs-0d38f21c736a515e71f92bf899b57d1023d74ac2.tar
nixpkgs-0d38f21c736a515e71f92bf899b57d1023d74ac2.tar.gz
nixpkgs-0d38f21c736a515e71f92bf899b57d1023d74ac2.tar.bz2
nixpkgs-0d38f21c736a515e71f92bf899b57d1023d74ac2.tar.lz
nixpkgs-0d38f21c736a515e71f92bf899b57d1023d74ac2.tar.xz
nixpkgs-0d38f21c736a515e71f92bf899b57d1023d74ac2.tar.zst
nixpkgs-0d38f21c736a515e71f92bf899b57d1023d74ac2.zip
Making the fossil build do the check phase.
svn path=/nixpkgs/trunk/; revision=24780
Diffstat (limited to 'pkgs/applications/version-management/fossil')
-rw-r--r--pkgs/applications/version-management/fossil/default.nix13
1 files 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