diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 14 |
1 files changed, 6 insertions, 8 deletions
@@ -13,15 +13,13 @@ Main job of those derivations is to use patchelf to make it nix compliant. | |||
13 | ## How to use it | 13 | ## How to use it |
14 | 14 | ||
15 | ```nix | 15 | ```nix |
16 | { pkgs ? import <nixpkgs> {} }: | 16 | { pkgs ? import <nixpkgs> {} }: with pkgs; |
17 | 17 | ||
18 | let | 18 | let clever-tools = fetchFromGitHub { |
19 | clever-tools = pkgs.fetchFromGitHub | 19 | owner = "fretlink"; |
20 | { owner = "fmenou"; | ||
21 | repo = "clever-tools-nix"; | 20 | repo = "clever-tools-nix"; |
22 | rev = "7c2a7868b387ffd064dd14c51f7b18224cdc5c88"; | 21 | rev = "DESIRED_REVISION_HASH"; |
23 | sha256 = "0r4bc4k90xpq325djvsyix9a6hiabmd4nba14j0plgdrwgzb36rh"; | 22 | sha256 = "CONTENT_HASH"; |
24 | }; | 23 | }; |
25 | 24 | in (import clever-tools {}).latest # select appropriate version | |
26 | in import clever-tools { inherit pkgs; } | ||
27 | ``` | 25 | ``` |