diff options
author | Alexey Shmalko <rasen.dubi@gmail.com> | 2016-11-18 12:56:08 +0200 |
---|---|---|
committer | Alexey Shmalko <rasen.dubi@gmail.com> | 2016-11-18 13:04:26 +0200 |
commit | a80cacd3ec8582bf3236fcd5031b0715358b3c82 (patch) | |
tree | 501fa627c64cbe8fa464014f4885a9632d604af3 /pkgs/build-support/fetchgit/default.nix | |
parent | 77847756f33b69c46fcdad272085cd8f91f59712 (diff) | |
download | nixpkgs-a80cacd3ec8582bf3236fcd5031b0715358b3c82.tar nixpkgs-a80cacd3ec8582bf3236fcd5031b0715358b3c82.tar.gz nixpkgs-a80cacd3ec8582bf3236fcd5031b0715358b3c82.tar.bz2 nixpkgs-a80cacd3ec8582bf3236fcd5031b0715358b3c82.tar.lz nixpkgs-a80cacd3ec8582bf3236fcd5031b0715358b3c82.tar.xz nixpkgs-a80cacd3ec8582bf3236fcd5031b0715358b3c82.tar.zst nixpkgs-a80cacd3ec8582bf3236fcd5031b0715358b3c82.zip |
fetchFromGitHub: add fetchSubmodules option
This commit extends fetchFromGitHub with ability to fetch GitHub repositories with submodules, so we can use the function consistently with all GitHub repositories. Note it doesn't change the previous behavior.
Diffstat (limited to 'pkgs/build-support/fetchgit/default.nix')
-rw-r--r-- | pkgs/build-support/fetchgit/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/fetchgit/default.nix b/pkgs/build-support/fetchgit/default.nix index 59e06c95ebb..982229cf8a5 100644 --- a/pkgs/build-support/fetchgit/default.nix +++ b/pkgs/build-support/fetchgit/default.nix @@ -26,7 +26,7 @@ in Cloning branches will make the hash check fail when there is an update. But not all patches we want can be accessed by tags. - The workaround is getting the last n commits so that it's likly that they + The workaround is getting the last n commits so that it's likely that they still contain the hash we want. for now : increase depth iteratively (TODO) |