aboutsummaryrefslogtreecommitdiffhomepage
path: root/example.nix
diff options
context:
space:
mode:
Diffstat (limited to 'example.nix')
-rw-r--r--example.nix12
1 files changed, 7 insertions, 5 deletions
diff --git a/example.nix b/example.nix
index d7b53db..30142f5 100644
--- a/example.nix
+++ b/example.nix
@@ -1,9 +1,11 @@
1{ pkgs ? import <nixpkgs> {} }: with pkgs; 1{ pkgs ? import <nixpkgs> {} }: with pkgs;
2 2
3let clever-tools = fetchFromGitHub { 3let clever-tools = import (fetchFromGitHub {
4 owner = "fretlink"; 4 owner = "fretlink";
5 repo = "clever-tools-nix"; 5 repo = "clever-tools-nix";
6 rev = "DESIRED_REVISION_HASH"; 6 rev = "master";
7 sha256 = "CONTENT_HASH"; 7 sha256 = "computed_hash";
8 }; 8 }) {};
9in (import clever-tools {}).latest # select appropriate version 9 # select appropriate version (see default.nix for the supported one)
10 # clever-tools.v0_9_3
11in clever-tools.latest