- fetchdarcs supports now partial
- fetchdarcs_2pre added - flapjax added - no longer used : annotatedDerivations - added bleeding edge repos with a tiny nix repository manager which dowloads and updates repostiries, then creates tar.gz dist files which are used by bleeding_edge_source (darcs tested only by now) - added experimental my_environment with example svn path=/nixpkgs/trunk/; revision=10974
This commit is contained in:
@@ -7,9 +7,9 @@ if test -n "$tag"; then
|
||||
tagflags="--tag=$tag"
|
||||
fi
|
||||
|
||||
header "getting $url ${tagtext}into $out"
|
||||
header "getting $url $partial ${tagtext} into $out"
|
||||
|
||||
darcs get --no-pristine-tree --partial $tagflags "$url" "$out"
|
||||
darcs get --no-pristine-tree $partial $tagflags "$url" "$out"
|
||||
# remove metadata, because it can change
|
||||
rm -rf "$out/_darcs"
|
||||
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
{stdenv, darcs, nix}: {url, tag ? null, md5}:
|
||||
{stdenv, darcs, nix}: {url, tag ? null, md5, partial ? true}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "fetchdarcs";
|
||||
builder = ./builder.sh;
|
||||
buildInputs = [darcs nix];
|
||||
partial = if partial then "--partial" else "";
|
||||
|
||||
# Nix <= 0.7 compatibility.
|
||||
id = md5;
|
||||
|
||||
Reference in New Issue
Block a user