diff --git a/source/tutorials/cross-compilation.md b/source/tutorials/cross-compilation.md index 0aab26aee..3549190e6 100644 --- a/source/tutorials/cross-compilation.md +++ b/source/tutorials/cross-compilation.md @@ -85,6 +85,13 @@ It's only possible to cross compile between `aarch64-darwin` and `x86_64-darwin` It is possible to explore them in `nix repl`: +:::{note} +[Starting with Nix 2.19](https://nix.dev/manual/nix/latest/release-notes/rl-2.19), `nix repl` requires the `-f` / `--file` flag: +```shell-session +$ nix repl -f '' -I nixpkgs=channel:nixos-23.11 +``` +::: + ```shell-session $ nix repl '' -I nixpkgs=channel:nixos-23.11 Welcome to Nix 2.18.1. Type :? for help.