mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27:50 +00:00
[Lib/Optimizations] fix derivations with passthru
This commit is contained in:
parent
7bd2eed8ca
commit
418f672a18
1 changed files with 3 additions and 1 deletions
|
|
@ -204,7 +204,9 @@ rec {
|
|||
};
|
||||
|
||||
addAttrs = pkg: attrs: pkg.overrideAttrs (old:
|
||||
myLib.attrsets.mergeAttrsRecursive old attrs
|
||||
(myLib.attrsets.mergeAttrsRecursive old attrs) // {
|
||||
passthru = (pkg.passthru or {}) // (attrs.passtru or {});
|
||||
}
|
||||
);
|
||||
|
||||
optimizePkg = pkg: { level ? "normal"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue