mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
* Barf if curl is not properly set.
svn path=/nixpkgs/branches/usability/; revision=4998
This commit is contained in:
parent
03aef934d1
commit
a2d161eb4c
1 changed files with 1 additions and 1 deletions
|
@ -232,7 +232,7 @@ rec {
|
||||||
inherit fetchurl stdenv;
|
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) {
|
realCurl = (import ../tools/networking/curl) {
|
||||||
inherit fetchurl stdenv zlib;
|
inherit fetchurl stdenv zlib;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue