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 613c25364cc3..042705b1abb0 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 1.4.1