diff options
-rw-r--r-- | default.nix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/default.nix b/default.nix index e40d19a..e8849a1 100644 --- a/default.nix +++ b/default.nix | |||
@@ -1,4 +1,15 @@ | |||
1 | { pkgs ? import <nixpkgs> {} }: with pkgs; | 1 | { pkgs ? import <nixpkgs> {} }: with pkgs; |
2 | let | ||
3 | mkOlderVersion = { rev, sha256 }: | ||
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; | ||
12 | in | ||
2 | { | 13 | { |
3 | latest = callPackage ./clever-tools { | 14 | latest = callPackage ./clever-tools { |
4 | nodegit = callPackage ./nodegit {}; | 15 | nodegit = callPackage ./nodegit {}; |