lib.hiPrio
gets erased after calling override
or overrideAttrs
#323624
Labels
0.kind: bug
Something is broken
Describe the bug
lib.hiPrio
and related functions updatemeta
using simple merging.If a package later has an override applied, though, the updated
meta
is discarded. This can be really surprising, particularly to those less well-versed in nix.Steps To Reproduce
Try this in a REPL:
Expected behavior
Functions that "mutate" derivations should do so using
overrideAttrs
, so that later invocations ofoverrideAttrs
don't discard information.Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Notify maintainers
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: