about summary refs log tree commit diff
path: root/nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix')
-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 9491684d6d46..7f6770a871eb 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
 ```