diff options
author | Marc Weber <marco-oweber@gmx.de> | 2008-03-06 01:58:13 +0000 |
---|---|---|
committer | Marc Weber <marco-oweber@gmx.de> | 2008-03-06 01:58:13 +0000 |
commit | 328da81b30144523dfcc47878c0c527124a3ac6d (patch) | |
tree | 4f2077fd107bdaf023fa3dc9b1c2544a4f8a3abc /pkgs/build-support | |
parent | 57d4f03ba8407db1ab8625980b9a725a825eb184 (diff) | |
download | nixlib-328da81b30144523dfcc47878c0c527124a3ac6d.tar nixlib-328da81b30144523dfcc47878c0c527124a3ac6d.tar.gz nixlib-328da81b30144523dfcc47878c0c527124a3ac6d.tar.bz2 nixlib-328da81b30144523dfcc47878c0c527124a3ac6d.tar.lz nixlib-328da81b30144523dfcc47878c0c527124a3ac6d.tar.xz nixlib-328da81b30144523dfcc47878c0c527124a3ac6d.tar.zst nixlib-328da81b30144523dfcc47878c0c527124a3ac6d.zip |
- 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/branches/stdenv-updates/; revision=10973
Diffstat (limited to 'pkgs/build-support')
-rw-r--r-- | pkgs/build-support/fetchdarcs/builder.sh | 4 | ||||
-rw-r--r-- | pkgs/build-support/fetchdarcs/default.nix | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/build-support/fetchdarcs/builder.sh b/pkgs/build-support/fetchdarcs/builder.sh index 6edad270765f..7214eda42668 100644 --- a/pkgs/build-support/fetchdarcs/builder.sh +++ b/pkgs/build-support/fetchdarcs/builder.sh @@ -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" diff --git a/pkgs/build-support/fetchdarcs/default.nix b/pkgs/build-support/fetchdarcs/default.nix index efb37bea5222..b8dde18aa3e5 100644 --- a/pkgs/build-support/fetchdarcs/default.nix +++ b/pkgs/build-support/fetchdarcs/default.nix @@ -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; |