Skip to content

Commit

Permalink
fix import from local repository when file is used
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 committed Sep 20, 2018
1 parent 81d4435 commit 7974547
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/repoSource.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 7974547

Please sign in to comment.