nixpkgs/pkgs/build-support/fetchdarcs/builder.sh
Marc Weber 2d6940061e revert of my last commit to stdenv-update nix-env -qa \* --out-path works for me again
- sorry for the inconvinience

svn path=/nixpkgs/branches/stdenv-updates/; revision=11000
2008-03-06 18:44:09 +00:00

17 lines
303 B
Bash

source $stdenv/setup
tagtext=""
tagflags=""
if test -n "$tag"; then
tagtext="(tag $tag) "
tagflags="--tag=$tag"
fi
header "getting $url ${tagtext}into $out"
darcs get --no-pristine-tree --partial $tagflags "$url" "$out"
# remove metadata, because it can change
rm -rf "$out/_darcs"
stopNest