summaryrefslogtreecommitdiffstats
path: root/lib/meta.nix
diff options
context:
space:
mode:
authorArtturin <Artturin@artturin.com>2023-08-04 18:36:08 +0300
committerArtturin <Artturin@artturin.com>2023-08-04 20:31:16 +0300
commit61c0ecea5b98249bc234466bc0e0ae778af72a45 (patch)
treee61418f8861628d0b47e94f90d00923f1c29933f /lib/meta.nix
parent5b3975cc66cefd3c199505c7a5780c5bbba95bce (diff)
treewide: update mainProgram docs
Diffstat (limited to 'lib/meta.nix')
-rw-r--r--lib/meta.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/meta.nix b/lib/meta.nix
index d32a37fe61d7..21404b3a2bfa 100644
--- a/lib/meta.nix
+++ b/lib/meta.nix
@@ -132,10 +132,9 @@ rec {
{ shortName = licstr; }
);
- /* Get the path to the main program of a derivation with either
- meta.mainProgram or pname or name
+ /* Get the path to the main program of a package based on meta.mainProgram
- Type: getExe :: derivation -> string
+ Type: getExe :: package -> string
Example:
getExe pkgs.hello