diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 12 |
1 files changed, 1 insertions, 11 deletions
@@ -12,14 +12,4 @@ Main job of those derivations is to use patchelf to make it nix compliant. | |||
12 | 12 | ||
13 | ## How to use it | 13 | ## How to use it |
14 | 14 | ||
15 | ```nix | 15 | [See the example.nix](https://github.com/fretlink/clever-tools-nix/blob/master/example.nix) |
16 | { pkgs ? import <nixpkgs> {} }: with pkgs; | ||
17 | |||
18 | let clever-tools = fetchFromGitHub { | ||
19 | owner = "fretlink"; | ||
20 | repo = "clever-tools-nix"; | ||
21 | rev = "DESIRED_REVISION_HASH"; | ||
22 | sha256 = "CONTENT_HASH"; | ||
23 | }; | ||
24 | in (import clever-tools {}).latest # select appropriate version | ||
25 | ``` | ||