From a994eb92a4e0d8744b244cd421c855d76831bdc0 Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Sun, 8 Jul 2012 10:32:12 -0400 Subject: corepkgs/fetchurl.sh: Use config.nix's curl --- corepkgs/fetchurl.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'corepkgs/fetchurl.nix') diff --git a/corepkgs/fetchurl.nix b/corepkgs/fetchurl.nix index c85c007ff218..758212015aee 100644 --- a/corepkgs/fetchurl.nix +++ b/corepkgs/fetchurl.nix @@ -1,3 +1,5 @@ +with import ; + # Argh, this thing is duplicated (more-or-less) in Nixpkgs. Need to # find a way to combine them. @@ -19,5 +21,5 @@ derivation { outputHash = if outputHash != "" then outputHash else if sha256 != "" then sha256 else if sha1 != "" then sha1 else md5; - inherit system url; + inherit system url curl; } -- cgit 1.4.1