mirror of
https://github.com/nix-community/flakelight.git
synced 2024-11-25 08:53:15 +01:00
Fix typo in API guide
This commit is contained in:
parent
592cb247bf
commit
b0fd6a391c
@ -527,7 +527,7 @@ For example:
|
||||
outputs = { flakelight, ... }:
|
||||
flakelight ./. {
|
||||
apps = {
|
||||
shell = "/bin/sh"
|
||||
shell = "/bin/sh";
|
||||
emacs = pkgs: "${pkgs.emacs}/bin/emacs";
|
||||
bash = pkgs: { type = "app"; program = "${pkgs.bash}/bin/bash"; };
|
||||
};
|
||||
@ -543,7 +543,7 @@ Alternatively, the above can be written as:
|
||||
outputs = { flakelight, ... }:
|
||||
flakelight ./. {
|
||||
apps = { emacs, bash, ... }: {
|
||||
shell = "/bin/sh"
|
||||
shell = "/bin/sh";
|
||||
emacs = "${emacs}/bin/emacs";
|
||||
bash = { type = "app"; program = "${bash}/bin/bash"; };
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user