Merge pull request #79 from nix-community/nur-combined-fix
fix import from local repository when `file` is used
This commit is contained in:
commit
07bdbce3ff
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