forked from lix-project/lix
9451ef3731
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=
|
||
---|---|---|
.. | ||
boost | ||
bsdiff-4.3 | ||
download-via-ssh | ||
libexpr | ||
libmain | ||
libstore | ||
libutil | ||
nix-collect-garbage | ||
nix-daemon | ||
nix-env | ||
nix-hash | ||
nix-instantiate | ||
nix-log2xml | ||
nix-store |