resholve icon indicating copy to clipboard operation
resholve copied to clipboard

support mkDerivation `finalAttrs` call pattern?

Open abathur opened this issue 2 years ago • 1 comments

I won't pretend to have the firmest grasp of this, but nixpkgs reviewers are leaning heavily on PR authors to use the mkDerivation (finalAttrs: ...) pattern first added in:

  • nixos/nixpkgs#119942

After skimming related PRs, my best guess is that I'll want to wait to tackle this until the following PR implementing lib.extendMkDerivation lands:

  • nixos/nixpkgs#234651

Since resholve's mkDerivation will need work to support this and it doesn't look immediately tractable, there'll probably be an increasing number of people getting asked to implement this (as in https://github.com/NixOS/nixpkgs/pull/224881#discussion_r1325328885) only to run into a dead end for now.

abathur avatar Sep 16 '23 00:09 abathur

Any news about it?

D3vil0p3r avatar Feb 10 '24 16:02 D3vil0p3r