Remove error hiding, comment saying where to call script from.
This commit is contained in:
parent
2e465757f8
commit
ae8efc22a5
@ -3,6 +3,8 @@
|
|||||||
# Fetch the latest io.js release (stable/nightly) and update
|
# Fetch the latest io.js release (stable/nightly) and update
|
||||||
# `default.nix` in this directory.
|
# `default.nix` in this directory.
|
||||||
#
|
#
|
||||||
|
# Call this from the root of your nixpkgs directory.
|
||||||
|
#
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
@ -21,12 +23,13 @@ latest_log() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
url() {
|
url() {
|
||||||
nix-instantiate -A "$1" 2> /dev/null | xargs cat \
|
nix-instantiate -A "$1" \
|
||||||
|
| xargs cat \
|
||||||
| sed 's/.*"urls","//;s/".*//'
|
| sed 's/.*"urls","//;s/".*//'
|
||||||
}
|
}
|
||||||
|
|
||||||
hash() {
|
hash() {
|
||||||
nix-prefetch-url "$1" 2> /dev/null
|
nix-prefetch-url "$1"
|
||||||
}
|
}
|
||||||
|
|
||||||
hash_log() {
|
hash_log() {
|
||||||
|
Loading…
Reference in New Issue
Block a user