Eelco Dolstra
|
da196ec68f
|
Document tarball downloading
|
2015-06-01 15:14:44 +02:00 |
|
Eelco Dolstra
|
6519f06f39
|
nix-env/nix-instantiate/nix-build: Support URIs
For instance, you can install Firefox from a specific Nixpkgs revision
like this:
$ nix-env -f 63def04891 .tar.gz -iA firefox
Or build a package from the latest nixpkgs-unstable channel:
$ nix-build https://nixos.org/channels/nixpkgs-unstable/nixexprs.tar.xz -A hello
|
2015-05-06 14:54:31 +02:00 |
|
Eelco Dolstra
|
9451ef3731
|
Allow URLs in the Nix search path
E.g. to install "hello" from the latest Nixpkgs:
$ nix-build '<nixpkgs>' -A hello -I nixpkgs=https://nixos.org/channels/nixpkgs-unstable/nixexprs.tar.xz
Or to install a specific version of NixOS:
$ nixos-rebuild switch -I nixpkgs=63def04891 .tar.gz
|
2015-05-05 17:09:42 +02:00 |
|
Eelco Dolstra
|
35d30d67eb
|
Make downloads interruptable
|
2015-05-05 14:39:48 +02:00 |
|
Eelco Dolstra
|
4ed2187377
|
Use cached result if there is a network error
|
2015-04-09 12:49:13 +02:00 |
|
Eelco Dolstra
|
1fc905ad4c
|
Move curl stuff into a separate file
|
2015-04-09 12:12:50 +02:00 |
|