Remove error hiding, comment saying where to call script from.

This commit is contained in:
Ryan Scheel (Havvy) 2015-04-09 17:11:47 +02:00
parent 2e465757f8
commit ae8efc22a5

View File

@ -3,6 +3,8 @@
# Fetch the latest io.js release (stable/nightly) and update
# `default.nix` in this directory.
#
# Call this from the root of your nixpkgs directory.
#
set -e
@ -21,12 +23,13 @@ latest_log() {
}
url() {
nix-instantiate -A "$1" 2> /dev/null | xargs cat \
nix-instantiate -A "$1" \
| xargs cat \
| sed 's/.*"urls","//;s/".*//'
}
hash() {
nix-prefetch-url "$1" 2> /dev/null
nix-prefetch-url "$1"
}
hash_log() {