diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2019-04-08 14:21:13 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2019-04-08 14:21:13 +0200 |
commit | 154244adc6c9831e00a41bf7799a2d29c6a3a3b4 (patch) | |
tree | 30abf6d48c565d157851d118021467d4bd5bcfb8 /src/nix-copy-closure | |
parent | 6b0ca8e803710342af70e257935724c5ad84ca04 (diff) |
nix: New installables syntax
The general syntax for an installable is now
<flakeref>:<attrpath>. The attrpath is relative to the flake's
'provides.packages' or 'provides' if the former doesn't yield a
result. E.g.
$ nix build nixpkgs:hello
is equivalent to
$ nix build nixpkgs:packages.hello
Also, '<flakeref>:' can be omitted, in which case it defaults to
'nixpkgs', e.g.
$ nix build hello
Diffstat (limited to 'src/nix-copy-closure')
0 files changed, 0 insertions, 0 deletions