fetchFromGitLab: Fixes #39200

This commit is contained in:
Eric Wolf
2018-04-20 10:11:34 +02:00
committed by erwo
parent 1bba16fe19
commit 93e9b73b3a
+1 -1
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; };