]> git.immae.eu Git - perso/Immae/Config/Nix/NUR.git/commitdiff
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>
Fri, 24 Apr 2020 22:04:20 +0000 (00:04 +0200)
libs.nix

index 2ddfcbb59d48598cf8a82c0c8a42b3d45a0015b0..48787af10ef1295ed621092950635e9607aee678 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" }: