From 43067c1e57af1be4fdd69f331c86d77778132450 Mon Sep 17 00:00:00 2001 From: Carlos Marques Date: Thu, 20 Jul 2023 15:56:08 +0100 Subject: [PATCH] Update nix-language.md --- source/tutorials/first-steps/nix-language.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/tutorials/first-steps/nix-language.md b/source/tutorials/first-steps/nix-language.md index 5f4479633..9fdd7f966 100644 --- a/source/tutorials/first-steps/nix-language.md +++ b/source/tutorials/first-steps/nix-language.md @@ -1687,7 +1687,7 @@ pkgs.lib.strings.removePrefix "no " "no true scotsman" To make this function produce a result, you can write it to a file (e.g. `file.nix`) and pass it an argument through `nix-instantiate`: ```shell-session -$ nix-instantiate --eval test.nix --arg pkgs 'import {}' +$ nix-instantiate --eval file.nix --arg pkgs 'import {}' "true scotsman" ```