query
On this page

getExe'

lib.meta.getExe' (Prime)

Docs pulled from | This Revision | about 12 hours ago


Get the path of a program of a derivation.

Inputs

x

1. Function argument

y

2. Function argument

Type

getExe' :: derivation -> string -> string

Examples

getExe' usage example

getExe' pkgs.hello "hello"
=> "/nix/store/g124820p9hlv4lj8qplzxw1c44dxaw1k-hello-2.12/bin/hello"
getExe' pkgs.imagemagick "convert"
=> "/nix/store/5rs48jamq7k6sal98ymj9l4k2bnwq515-imagemagick-7.1.1-15/bin/convert"

Noogle also knows

Aliases