Replace fetchgitPrivate by its builtins counterpart
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Fri, 24 May 2019 11:27:22 +0000 (13:27 +0200)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Mon, 27 May 2019 22:40:06 +0000 (00:40 +0200)
libs.nix

index 2ddfcbb..48787af 100644 (file)
--- a/libs.nix
+++ b/libs.nix
@@ -36,7 +36,11 @@ rec {
     in rec {
       version = json.tag;
       name = "${json.meta.name}-${version}";
-      src = fetchgitPrivate json.git;
+      src = builtins.fetchGit {
+        url = json.git.url;
+        ref = "master";
+        rev = json.git.rev;
+      };
     };
 
   wrap = { paths ? [], vars ? {}, file ? null, script ? null, name ? "wrap" }: