Replace fetchgit default builder by a wrapper around nix-prefect-git.

svn path=/nixpkgs/trunk/; revision=28709
This commit is contained in:
Nicolas Pierron
2011-08-20 14:29:57 +00:00
parent 4b3530f55d
commit 9e53a20f50
3 changed files with 115 additions and 74 deletions
+1
View File
@@ -26,6 +26,7 @@
stdenv.mkDerivation {
name = "git-export";
builder = ./builder.sh;
fetcher = ./nix-prefetch-git;
buildInputs = [git];
outputHashAlgo = if sha256 == "" then "md5" else "sha256";