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