Merge pull request #39203 from typetetris/master
fetchFromGitLab: Fixes #39200
commitf6dfa072b4bbe2e48d535f31704dd654b6fc93ec
authorJörg Thalheim <Mic92@users.noreply.github.com>
dateSat 21 Apr 2018, 18:57 (9 years ago)
parent14a119e93e9b73
pkgs/top-level/all-packages.nix+1−1
@@ -288,7 +288,7 @@ with pkgs;
288288 ... # For hash agility
289289 }@args: fetchzip ({
290290 inherit name;
291− url = "https://gitlab.com/${owner}/${repo}/repository/archive.tar.gz?ref=${rev}";
291+ url = "https://gitlab.com/${owner}/${repo}/-/archive/${rev}/${repo}-${rev}.tar.gz";
292292 meta.homepage = "https://gitlab.com/${owner}/${repo}/";
293293 } // removeAttrs args [ "owner" "repo" "rev" ]) // { inherit rev; };
294294