You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
overrideAttrs on result of fetchFromGitHub does not re-add fields #444503
0.kind: bugSomething is broken2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md
As discovered with @djacu, using overrideAttrs on the derivation returned by fetchFromGitHub results in a derivation without the fields added after application of fetcher to fetcherArgs:
One solution is to have both fetcher implementation accept variable arguments and pass through those which are not explicitly used; this would allow additional customization of the implementation, such as setting meta or env.
0.kind: bugSomething is broken2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md
Activity
eclairevoyant commentedon Sep 21, 2025
see existing work:
passthruand enhance overriding #294329