mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 21:53:32 +00:00
83e45309fd
It's for fixed-output derivations, security provided by output hash.
10 lines
151 B
Bash
10 lines
151 B
Bash
source $stdenv/setup
|
|
|
|
header "getting $url${tag:+ ($tag)} into $out"
|
|
|
|
hg clone --insecure ${tag:+-r "$tag"} "$url" "$out"
|
|
|
|
rm -rf "$out/.hg"
|
|
|
|
stopNest
|