St: Difference between revisions
imported>Legendofmiracles m removes a few of the `1`'s as they really are unnecessary and only clutter things up |
imported>Alexnortung added instructions to obtain hashes |
||
| Line 51: | Line 51: | ||
Most customization of <code>st</code> that alters its base feature set comes in the form of applying patches to the source code. | Most customization of <code>st</code> that alters its base feature set comes in the form of applying patches to the source code. | ||
=== Obtaining hashes === | |||
To apply a patch you need to obtain the hash, the hash should be obtained with the following command | |||
<syntaxhighlight lang="sh"> | |||
$ nix-prefetch-url <url> | |||
</syntaxhighlight> | |||
example | |||
<syntaxhighlight lang="sh"> | |||
$ nix-prefetch-url https://st.suckless.org/patches/rightclickpaste/st-rightclickpaste-0.8.2.diff | |||
</syntaxhighlight> | |||
=== Patches === | === Patches === | ||