Skip to content

Commit 26b1972

Browse files
authored
fix(docs): wrapProgram to wrapPackage (#198)
1 parent 0618cf5 commit 26b1972

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/md/getting-started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,14 +149,14 @@ packageAgain = apackage.wrap ({config, pkgs, ...}: {
149149
})) # .config.wrapper to grab the final package! Only works if pkgs was supplied.
150150
```
151151

152-
`wrapProgram` comes with `wlib.modules.default` already included, and outputs the package directly!
152+
`wrapPackage` comes with `wlib.modules.default` already included, and outputs the package directly!
153153

154154
Use this for quickly creating a custom wrapped program within your configuration!
155155

156156
```nix
157157
{ pkgs, wrappers, ... }:
158158
159-
wrappers.lib.wrapProgram ({ config, wlib, lib, ... }: {
159+
wrappers.lib.wrapPackage ({ config, wlib, lib, ... }: {
160160
inherit pkgs; # you can only grab the final package if you supply pkgs!
161161
package = pkgs.curl;
162162
extraPackages = [ pkgs.jq ];

0 commit comments

Comments
 (0)