about summary refs log tree commit diff
path: root/src/nix/edit.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-08-29T13·00+0200
committerEelco Dolstra <edolstra@gmail.com>2017-08-29T13·00+0200
commit05d68a6e23127e490193599f75489006830b302c (patch)
tree213b0c677dec14868a0dadc40d0dadbf40562b7a /src/nix/edit.cc
parent5cc8609e30ab4f76053f3159c51ea78d9215bc8c (diff)
nix run: Add some flags for clearing/keeping the environment
This is useful for testing commands in isolation.

For example,

  $ nix run nixpkgs.geeqie -i -k DISPLAY -k XAUTHORITY -c geeqie

runs geeqie in an empty environment, except for $DISPLAY and
$XAUTHORITY.
Diffstat (limited to 'src/nix/edit.cc')
0 files changed, 0 insertions, 0 deletions