README: clarify

This commit is contained in:
Max Headroom 2023-06-28 20:19:50 +02:00
parent 5751cf7e44
commit 9b859037df

View file

@ -21,7 +21,7 @@ $ nix shell jq gron kubectl
### Experimental features enabled by default ### Experimental features enabled by default
The experimental features are enabled by default: The following experimental features are enabled by default:
- `flakes` (`Xp::Flakes`) - `flakes` (`Xp::Flakes`)
- `nix-command` (`Xp::NixCommand`) - `nix-command` (`Xp::NixCommand`)
- `repl-flake` (`Xp::ReplFlake`) - `repl-flake` (`Xp::ReplFlake`)
@ -73,6 +73,8 @@ builtins.trace "asdf" $ map toString [ 1 2 3 ]
### Easy use of `callPackage` from the CLI ### Easy use of `callPackage` from the CLI
The flag `-C`/`--call-package` allows you to directly build *callPackageable expressions* from the CLI. The flag `-C`/`--call-package` allows you to directly build *callPackageable expressions* from the CLI.
This invokes `import <nixpkgs> {}` to get access to `callPackage`.
```shell-session ```shell-session
$ cat hello.nix $ cat hello.nix