diff options
Diffstat (limited to 'example.nix')
-rw-r--r-- | example.nix | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/example.nix b/example.nix index 1245fec..d7b53db 100644 --- a/example.nix +++ b/example.nix | |||
@@ -1,11 +1,9 @@ | |||
1 | { pkgs ? import <nixpkgs> {} }: | 1 | { pkgs ? import <nixpkgs> {} }: with pkgs; |
2 | 2 | ||
3 | let | 3 | let clever-tools = fetchFromGitHub { |
4 | clever-tools = pkgs.fetchFromGitHub | 4 | owner = "fretlink"; |
5 | { owner = "fmenou"; | ||
6 | repo = "clever-tools-nix"; | 5 | repo = "clever-tools-nix"; |
7 | rev = "7c2a7868b387ffd064dd14c51f7b18224cdc5c88"; | 6 | rev = "DESIRED_REVISION_HASH"; |
8 | sha256 = "0r4bc4k90xpq325djvsyix9a6hiabmd4nba14j0plgdrwgzb36rh"; | 7 | sha256 = "CONTENT_HASH"; |
9 | }; | 8 | }; |
10 | 9 | in (import clever-tools {}).latest # select appropriate version | |
11 | in import clever-tools { inherit pkgs; } | ||