* Purify all corepkgs builders.
This commit is contained in:
parent
e52ae1c0ff
commit
bacd3a6cfa
5 changed files with 17 additions and 15 deletions
|
@ -1,13 +1,11 @@
|
|||
#! @shell@ -e
|
||||
|
||||
export PATH=/bin:/usr/bin
|
||||
|
||||
echo "downloading $url into $out"
|
||||
|
||||
prefetch=@storedir@/nix-prefetch-url-$outputHash
|
||||
if test -f "$prefetch"; then
|
||||
echo "using prefetched $prefetch";
|
||||
mv $prefetch $out
|
||||
@coreutils@/mv $prefetch $out
|
||||
else
|
||||
@curl@ --fail --location --max-redirs 20 "$url" > "$out"
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue