about summary refs log tree commit diff
path: root/src/libutil/util.cc
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-06-02T14·51+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-06-02T14·51+0200
commita24f2c9b8413ebc8b1776ab3f770c69e4a03007b (patch)
tree8cff7e5b4287e08ab5e93cf04063c06cdbfe3801 /src/libutil/util.cc
parent6f2d51287c471238a2ff1a517c965560dfb2a149 (diff)
nix run: Mount the Nix store in a private namespace
This is a convenience command to allow users who are not privileged to
create /nix/store to use Nix with regular binary caches. For example,

  $ NIX_REMOTE="local?state=$HOME/nix/var&real=/$HOME/nix/store" nix run firefox bashInteractive

will download Firefox and bash from cache.nixos.org, then start a
shell in which $HOME/nix/store is mounted on /nix/store.
Diffstat (limited to 'src/libutil/util.cc')
0 files changed, 0 insertions, 0 deletions