fix import from local repository when file is used
This commit is contained in:
parent
81d4435788
commit
7974547807
1 changed files with 1 additions and 1 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue