about summary refs log tree commit diff
path: root/src/nix/command.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-04-25T13·18+0200
committerEelco Dolstra <edolstra@gmail.com>2017-04-25T13·18+0200
commitd48c973ece20875391bebde3c167d6e0cc1e666e (patch)
tree61e831c1c3b013918694539ffe98243c7218ebc9 /src/nix/command.cc
parent0b6220fbd6869ec9f48094b85350ef2ea0429b14 (diff)
Set default installable
Thus

  $ nix build -f foo.nix

will build foo.nix.

And

  $ nix build

will build default.nix. However, this may not be a good idea because
it's kind of inconsistent, given that "nix build foo" will build the
"foo" attribute from the default installation source (i.e. the
synthesis of $NIX_PATH), rather than ./default.nix. So I may revert
this.
Diffstat (limited to 'src/nix/command.cc')
0 files changed, 0 insertions, 0 deletions