nix-community / nix-index

Quickly locate nix packages with specific files [maintainers=@bennofs @figsoda @raitobezarius]
Other
817 stars 50 forks source link

The '.out' file extension #197

Closed bfcns closed 1 year ago

bfcns commented 1 year ago

This is just a question, I am new to NixOS, and couldn't find an answer anywhere else.

Why there is an '.out' extension of the applications?

KAction commented 1 year ago

You mean this?

>> nix-locate '/bin/edir'
edir.out                                            348 x /nix/store/ncgjrkizci1q0fiv6f7cwrbn842341hm-edir-2.7.3/bin/edir

out is name of output. If derivation has no explicit outputs = ..., it has only one output named out. Outputs are equivalent of binary packages for dpkgs, if that helps.

bennofs commented 1 year ago

The answer @KAction gave is correct, the default output is called '.out' but there are also packages which have '.dev' etc. for development headers.

bfcns commented 1 year ago

Thanks guys.