From 266a698ef2a6f297d772a1a221c83d0c1df76cc6 Mon Sep 17 00:00:00 2001 From: Hussein Ait Lahcen Date: Mon, 25 Jun 2018 12:03:09 +0200 Subject: add: introduce recursive versionning --- default.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/default.nix b/default.nix index e40d19a..e8849a1 100644 --- a/default.nix +++ b/default.nix @@ -1,4 +1,15 @@ { pkgs ? import {} }: with pkgs; +let + mkOlderVersion = { rev, sha256 }: + let + olderVersion = fetchFromGitHub { + owner = "fretlink"; + repo = "clever-tools-nix"; + inherit rev; + inherit sha256; + }; + in (import olderVersion {}).latest; +in { latest = callPackage ./clever-tools { nodegit = callPackage ./nodegit {}; -- cgit v1.2.3