lowPrio
lib.meta.lowPrio
Docs pulled from | This Revision | 31 minutes ago
Nixpkgs manual
Decrease the nix-env priority of the package, i.e., other versions/variants of the package will be preferred.
Inputs
drv-
1. Function argument
Type
lowPrio :: Derivation -> Derivation
Noogle detected
Implementation
The following is the current implementation of this function.
drv:
if drv ? overrideAttrs then
drv.overrideAttrs (old: {
meta = (old.meta or { }) // newAttrs;
})
else
drv // { meta = (drv.meta or { }) // newAttrs; }