aboutsummaryrefslogtreecommitdiff
path: root/src/nix
diff options
context:
space:
mode:
authorQyriad <qyriad@qyriad.me>2024-04-29 08:15:16 -0600
committerQyriad <qyriad@qyriad.me>2024-04-29 08:18:00 -0600
commitbd2619868c8e6f2f8a9724400f1ee9da0bcbb157 (patch)
tree7292539a61da272495553337488b17881c3a8020 /src/nix
parent194ba8a02f5dabc831259f359c234acaa0ec29fa (diff)
docs: clarify how the different kinds of installables are selected
Change-Id: I146736bb97ebe035e04be69ce9fb60a557e38c6c
Diffstat (limited to 'src/nix')
-rw-r--r--src/nix/nix.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nix/nix.md b/src/nix/nix.md
index 7a4a03395..7b2cd7b7b 100644
--- a/src/nix/nix.md
+++ b/src/nix/nix.md
@@ -59,9 +59,13 @@ These are command line arguments that represent something that can be realised i
The following types of installable are supported by most commands:
- [Flake output attribute](#flake-output-attribute) (experimental)
+ - This is the default
- [Store path](#store-path)
+ - This is assumed if the argument is a Nix store path or a symlink to a Nix store path
- [Nix file](#nix-file), optionally qualified by an attribute path
+ - Specified with `--file`/`-f`
- [Nix expression](#nix-expression), optionally qualified by an attribute path
+ - Specified with `--expr`/`-E`
For most commands, if no installable is specified, `.` is assumed.
That is, Nix will operate on the default flake output attribute of the flake in the current directory.