diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 20 |
1 files changed, 1 insertions, 19 deletions
@@ -2,24 +2,6 @@ | |||
2 | 2 | ||
3 | Nix derivation to install clever-tools - see https://github.com/CleverCloud/clever-tools | 3 | Nix derivation to install clever-tools - see https://github.com/CleverCloud/clever-tools |
4 | 4 | ||
5 | ## What's in it | ||
6 | |||
7 | 2 derivations to install | ||
8 | - nodegit.node 0.20.3 for node v51, from prebuilt archive | ||
9 | - clever-tools 0.9.3, from prebuilt archive | ||
10 | |||
11 | Main job of those derivations is to use patchelf to make it nix compliant. | ||
12 | |||
13 | ## How to use it | 5 | ## How to use it |
14 | 6 | ||
15 | ```nix | 7 | [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 | ``` | ||