diff --git a/source/tutorials/cross-compilation.md b/source/tutorials/cross-compilation.md index 0aab26a..4286449 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} +Later versions of `nix repl` require `-f` 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.