mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-01 13:14:42 +00:00
The src attribute in the wrapped derivation is only required by the update script, however the presence of this reference causes the source code to be downloaded whenever the wrapped derivation is realised, even if the unwrapped derivation is already realised or can be substituted. Referencing the unwrapped derivation in the update script avoids this problem.