Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: d85795a1c746
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 587112b7dd6c
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Apr 23, 2018

  1. fetchFromGitLab: Use API archive download endpoint.

    According to
    
    https://gitlab.com/gitlab-org/gitlab-ce/issues/45586#note_69828451
    
    this URL is something with guaranteed stability.
    typetetris committed Apr 23, 2018
    Copy the full SHA
    94a420b View commit details

Commits on May 1, 2018

  1. Merge pull request #39467 from typetetris/master

    fetchFromGitLab: Use API archive download endpoint.
    matthewbauer authored May 1, 2018
    Copy the full SHA
    587112b View commit details
Showing with 1 addition and 1 deletion.
  1. +1 −1 pkgs/top-level/all-packages.nix
2 changes: 1 addition & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -288,7 +288,7 @@ with pkgs;
... # For hash agility
}@args: fetchzip ({
inherit name;
url = "https://gitlab.com/${owner}/${repo}/-/archive/${rev}/${repo}-${rev}.tar.gz";
url = "https://gitlab.com/api/v4/projects/${owner}%2F${repo}/repository/archive.tar.gz?sha=${rev}";
meta.homepage = "https://gitlab.com/${owner}/${repo}/";
} // removeAttrs args [ "owner" "repo" "rev" ]) // { inherit rev; };