aboutsummaryrefslogtreecommitdiffhomepage
path: root/example.nix
diff options
context:
space:
mode:
authorHussein A <44173825+haitlahcen@users.noreply.github.com>2019-01-30 16:07:56 +0100
committerGitHub <noreply@github.com>2019-01-30 16:07:56 +0100
commit2f7e1a82773077034b335e3fa0a36ca41fc18032 (patch)
tree34925fa26e5637e93a5d779deddff27322e9529b /example.nix
parenta60f5f961215e9a011b4a0dfe651758001f116d8 (diff)
parent63d289fd2f02a4d45e60f61e11f8dd9d3b4963fc (diff)
downloadclever-tools-nix-2f7e1a82773077034b335e3fa0a36ca41fc18032.tar.gz
clever-tools-nix-2f7e1a82773077034b335e3fa0a36ca41fc18032.tar.zst
clever-tools-nix-2f7e1a82773077034b335e3fa0a36ca41fc18032.zip
Merge pull request #6 from haitlahcen/upgrade-1.1.0
upgrade to 1.1.0 and get rid of nodegit
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