From 8d75b351672302c7c98ef2fcc142f6db6e70701c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Thu, 2 Apr 2020 10:23:08 +0100 Subject: [PATCH] lib/repoSource: don't copy local repositories to the nix store --- lib/repoSource.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/repoSource.nix b/lib/repoSource.nix index b8d1692d2..75f7080f5 100644 --- a/lib/repoSource.nix +++ b/lib/repoSource.nix @@ -21,7 +21,7 @@ let localPath = ../repos + "/${name}"; in if lib.pathExists localPath then - "${localPath}" + localPath else if lib.hasPrefix "https://github.com" attr.url && !submodules then fetchzip { url = "${attr.url}/archive/${revision.rev}.zip";