about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--nix/nix-1p/README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/nix/nix-1p/README.md b/nix/nix-1p/README.md
index 9491684d6d..7f6770a871 100644
--- a/nix/nix-1p/README.md
+++ b/nix/nix-1p/README.md
@@ -474,7 +474,7 @@ package set (as well as certain subsets, such as `haskellPackages`).
 ```nix
 { pkgs ? import <nixpkgs> {} }:
 
-let my-funky-program = callPackage ./my-funky-program.nix {};
+let my-funky-program = pkgs.callPackage ./my-funky-program.nix {};
 in # ... something happens with my-funky-program
 ```