aboutsummaryrefslogtreecommitdiff
path: root/utilities.go
diff options
context:
space:
mode:
Diffstat (limited to 'utilities.go')
-rw-r--r--utilities.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/utilities.go b/utilities.go
index 7548da4..fc9b339 100644
--- a/utilities.go
+++ b/utilities.go
@@ -7,14 +7,14 @@ import (
"strings"
)
-func fetchSHA256(url string, unpack bool, show bool) (string, error) {
+func fetchSHA256(url string, unpack bool) (string, error) {
arguments := []string{"--type", "sha256", url}
if unpack {
arguments = append([]string{"--unpack"}, arguments...)
}
- output, err := command("nix-prefetch-url", show, arguments...)
+ output, err := command("nix-prefetch-url", false, arguments...)
if err != nil {
return "", err