fetchurl
pkgs.fetchurl
Functor
Docs pulled from | This Revision | 1 day ago
Contribute
Enhance the ecosystem with your expertise! Contribute to fill the gaps in documentation. Your input can make a difference.
Nix manual
Download the specified URL and return the path of the downloaded file.
arg can be either a string denoting the URL, or an attribute set with the following attributes:
-
urlThe URL of the file to download.
-
name(default: the last path component of the URL)A name for the file in the store. This can be useful if the URL has any characters that are invalid for the store.
Not available in restricted evaluation mode.
Noogle detected
This is a Functor
Learn about functors
Implementation
The following is the current implementation of this function.
fpargs:
transformDrv (
constructDrv (extendsWithExclusion excludeDrvArgNames extendDrvArgs (toFunction fpargs))
)