From 7974547807ea7c4cbb034bd34e87f5df3aa382ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Thu, 20 Sep 2018 07:46:47 +0100 Subject: [PATCH] fix import from local repository when `file` is used --- lib/repoSource.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/repoSource.nix b/lib/repoSource.nix index 6bb7b1350..7fd611300 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";