From a2d161eb4c152cc48c85372325cd6ceece492f14 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 8 Mar 2006 15:38:58 +0000 Subject: [PATCH] * Barf if curl is not properly set. svn path=/nixpkgs/branches/usability/; revision=4998 --- pkgs/top-level/all-packages.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 34b97fc8c5f4..c720f94257f2 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -232,7 +232,7 @@ rec { inherit fetchurl stdenv; }; - curl = useFromStdenv (stdenv ? curl) stdenv.curl realCurl; + curl = if stdenv ? curl then stdenv.curl else (assert false; null); realCurl = (import ../tools/networking/curl) { inherit fetchurl stdenv zlib;