NixOS / NixOS/nixpkgs

Request: gradle fetchDeps overriding url

Open
#501,643 6 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0.kind: enhancement 6.topic: nixos 9.needs: module (new)
Dominant language
Nix
Stars
26.2k
Forks
20.1k
PR merge metrics
PR metrics pending

Description

Nixpkgs version
  • Unstable (26.05)
Describe the proposed module

add the support to override the url.

I found this in my lockfile. Their gradle building process is fetching a url that changes content everyday :(

  "play-sdk/index/snapshot": {
   "gz": "sha256-fV4F9DkAe9jB/B6+2/CD5ii8oHfLO0VBsJOcpQomWZI="
  }
Additional context

overrides https://github.com/tadfisher/gradle2nix/pull/62#issuecomment-2183103724

Notify maintainers

ask @chayleaf @mrcjkb @FliegendeWurst


Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

I assert that this issue is relevant for Nixpkgs
Is this issue important to you?

Add a 👍 reaction to issues you find important.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the gradle fetchDeps module and reviewing how the lockfile entry for play-sdk/index/snapshot is fetched. Use the linked gradle2nix discussion for context, then verify that a configurable URL override is honored instead of the changing upstream URL.

Written by the indexing model from the issue text.

Assessment

Domain
build-system
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.