lix/src/libutil
Eelco Dolstra 5cc8609e30
nix run: Allow passing a command to execute
E.g.

  nix run nixpkgs.hello -c hello --greeting Hallo

Note that unlike "nix-shell --command", no quoting of arguments is
necessary.

"-c" (short for "--command") cannot be combined with "--" because they
both consume all remaining arguments. But since installables shouldn't
start with a dash, this is unlikely to cause problems.
2017-08-29 14:42:48 +02:00
..
affinity.cc
affinity.hh
archive.cc
archive.hh
args.cc
args.hh
compression.cc
compression.hh
config.cc
config.hh
finally.hh
hash.cc
hash.hh
istringstream_nocopy.hh
json.cc
json.hh
lazy.hh
local.mk
logging.cc
logging.hh
lru-cache.hh
monitor-fd.hh
pool.hh
ref.hh
serialise.cc
serialise.hh
sync.hh
thread-pool.cc
thread-pool.hh
types.hh
util.cc
util.hh
xml-writer.cc
xml-writer.hh