about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAsad Saeeduddin <masaeedu@gmail.com>2019-12-17T20·35-0500
committerVincent Ambo <mail@tazj.in>2019-12-18T01·00+0000
commit56a1f03a109da9e33d5c2018c5fe3e3080cd93e4 (patch)
tree4ff2977de44f5ab42f0fd765f3d2b730ea051211
parent5f4664ad5aea4596e1693b822133f58b17b248a8 (diff)
Fix typo in code snippet
-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
 ```