aboutsummaryrefslogtreecommitdiff
path: root/src/nix/nix.md
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2022-02-22 14:32:56 +0100
committerEelco Dolstra <edolstra@gmail.com>2022-02-22 14:32:56 +0100
commit1a6548ca757f81594f5b54d8dada4c5ba65821de (patch)
tree40ff546a33566eeee702ccaead1ec30e3dfc6e42 /src/nix/nix.md
parent38eea2c503a70e32dd6110937d49705976d5fc7a (diff)
Update docs
Diffstat (limited to 'src/nix/nix.md')
-rw-r--r--src/nix/nix.md6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/nix/nix.md b/src/nix/nix.md
index 1dc59362d..0dacadee6 100644
--- a/src/nix/nix.md
+++ b/src/nix/nix.md
@@ -97,11 +97,9 @@ the Nix store. Here are the recognised types of installables:
For example, if `/foo/bar/flake.nix` exists, then `/foo/bar/baz/` will resolve to
`path:/foo/bar`
-
-
If *attrpath* is omitted, Nix tries some default values; for most
- subcommands, the default is `defaultPackage.`*system*
- (e.g. `defaultPackage.x86_64-linux`), but some subcommands have
+ subcommands, the default is `packages.`*system*`.default`
+ (e.g. `packages.x86_64-linux.default`), but some subcommands have
other defaults. If *attrpath* *is* specified, *attrpath* is
interpreted as relative to one or more prefixes; for most
subcommands, these are `packages.`*system*,