000b5a000f
This function downloads and unpacks the given URL at evaluation
time. This is primarily intended to make it easier to deal with Nix
expressions that have external dependencies. For instance, to fetch
Nixpkgs 14.12:
with import (fetchTarball https://github.com/NixOS/nixpkgs-channels/archive/nixos-14.12.tar.gz) {};
Or to fetch a specific revision:
with import (fetchTarball
|
||
---|---|---|
.. | ||
boost | ||
bsdiff-4.3 | ||
download-via-ssh | ||
libexpr | ||
libmain | ||
libstore | ||
libutil | ||
nix-daemon | ||
nix-env | ||
nix-hash | ||
nix-instantiate | ||
nix-log2xml | ||
nix-store |