fetchFromGitLab: Fixes #39200

This commit is contained in:
Eric Wolf 2018-04-20 10:10:51 +02:00 committed by erwo
parent 1bba16fe19
commit 93e9b73b3a

View file

@ -288,7 +288,7 @@ with pkgs;
... # For hash agility ... # For hash agility
}@args: fetchzip ({ }@args: fetchzip ({
inherit name; inherit name;
url = "https://gitlab.com/${owner}/${repo}/repository/archive.tar.gz?ref=${rev}"; url = "https://gitlab.com/${owner}/${repo}/-/archive/${rev}/${repo}-${rev}.tar.gz";
meta.homepage = "https://gitlab.com/${owner}/${repo}/"; meta.homepage = "https://gitlab.com/${owner}/${repo}/";
} // removeAttrs args [ "owner" "repo" "rev" ]) // { inherit rev; }; } // removeAttrs args [ "owner" "repo" "rev" ]) // { inherit rev; };