Skip to content

Tracking issue: Removal of uneeded argument #313981

@Sigmanificient

Description

@Sigmanificient

Issue description

There are many unneeded argument that lies around due to the update/refactor made over the years.
Let's try to clean this up!

  • fetchpatch: 397
  • fetchurl: 81
  • fetchFromGitHub: 64
  • fetchgit: 16
  • fetchPypi: 13
  • fetchFromGitLab: 9
  • fetchNuGet: 5
  • fetchsvn: 2

I will break these down to chunk of 100 than a hundred file, to make the pr review process easier

Steps to reproduce

nix run nixpkgs#deadnix -- . -o json | grep 'Unused lambda pattern:'

Technical details

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.30, NixOS, 24.05 (Uakari), 24.05.20240521.5710852`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.2`
 - channels(root): `"nixos-23.05"`
 - channels(sigmanificient): `""`
 - nixpkgs: `/nix/store/qzjidyx3fip413vg7by6ibl22lwizc68-source`

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: enhancementAdd something new or improve an existing system.5.scope: trackingLong-lived issue tracking long-term fixes or multiple sub-problems
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions