summary refs log blame commit diff
path: root/pkgs/build-support/fetchdarcs/builder.sh
blob: 6edad270765f4063a9fd633072f5d42cf7da72b3 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                         
                                                              


                                        
        
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