From bbe2811a106b61aed1c69033ddcb29a175133bdc Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 22 Sep 2016 15:48:14 +0200 Subject: : Support nix-prefetch-url --- corepkgs/fetchurl.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'corepkgs') diff --git a/corepkgs/fetchurl.nix b/corepkgs/fetchurl.nix index 613c25364..042705b1a 100644 --- a/corepkgs/fetchurl.nix +++ b/corepkgs/fetchurl.nix @@ -33,4 +33,7 @@ derivation { # by definition pure. "http_proxy" "https_proxy" "ftp_proxy" "all_proxy" "no_proxy" ]; + + # To make "nix-prefetch-url" work. + urls = [ url ]; } -- cgit v1.2.3