aboutsummaryrefslogtreecommitdiffhomepage
path: root/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'default.nix')
-rw-r--r--default.nix18
1 files changed, 15 insertions, 3 deletions
diff --git a/default.nix b/default.nix
index 0c12df8..e8849a1 100644
--- a/default.nix
+++ b/default.nix
@@ -1,5 +1,17 @@
1{ pkgs ? import <nixpkgs> {} }: with pkgs; 1{ pkgs ? import <nixpkgs> {} }: with pkgs;
2 2let
3callPackage ./clever-tools { 3 mkOlderVersion = { rev, sha256 }:
4 nodegit = callPackage ./nodegit {}; 4 let
5 olderVersion = fetchFromGitHub {
6 owner = "fretlink";
7 repo = "clever-tools-nix";
8 inherit rev;
9 inherit sha256;
10 };
11 in (import olderVersion {}).latest;
12in
13{
14 latest = callPackage ./clever-tools {
15 nodegit = callPackage ./nodegit {};
16 };
5} 17}