Template:Nixpkg: Difference between revisions
Appearance
Created page with "<includeonly>[https://github.com/NixOS/nixpkgs/blob/{{{revision|master}}}/{{{1}}} {{unicon|📦}}{{{2|{{{1}}}}}}]</includeonly><noinclude>{{Documentation}}</noinclude>" |
m fix Tag: Manual revert |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>[https://github.com/NixOS/nixpkgs/blob/{{{revision|master}}}/{{{1}}} {{unicon|📦}}{{{2|{{{1}}}}}}]</includeonly><noinclude>{{Documentation}}</noinclude> | <includeonly>[https://github.com/NixOS/nixpkgs/blob/{{{rev|{{{revision|master}}}}}}/{{{1}}} {{unicon|📦}} {{{2|{{{1}}}}}}]</includeonly><noinclude>{{Documentation}}</noinclude> |
Latest revision as of 14:15, 16 August 2025
Template Documentation [edit source| uses| help]
⤟︎
This template is a candidate for merging with Template:Nixpkgs Link. They seem to be duplicates. Further information may be found in the relevant discussion page.
This template inserts a link to a file in the nixpkgs repository.
📦︎ pkgs/by-name/me/mediawiki/package.nix
Usage
Simply paste the full path of the file that you want to link to. The link above was created using:
{{nixpkg|pkgs/by-name/me/mediawiki/package.nix}}
You can also provide some text to be filled in instead of the full path:
{{nixpkg|pkgs/top-level/all-packages.nix|all-packages.nix}}
Finally, you can point to a specific revision of the repository too:
{{nixpkg|rev=f3ecd570ed68a801ff7f1522319d4fa5caf774c5|pkgs/top-level/all-packages.nix}}