mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27:50 +00:00
[Programs/LibreOffice] simply applyOverrides
This commit is contained in:
parent
c1d4a910f6
commit
902ef0a522
1 changed files with 2 additions and 10 deletions
|
|
@ -7,16 +7,8 @@ let
|
|||
then "<function>"
|
||||
else (builtins.toJSON x)
|
||||
;
|
||||
applyOverrides = overrides: pkg:
|
||||
foldl'
|
||||
(prev: override:
|
||||
let
|
||||
r = (trace "override: ${toStringOrFunc override}" override) (trace "prev: ${toString prev}" prev);
|
||||
in trace "result: ${toString r}" r
|
||||
)
|
||||
pkg
|
||||
overrides
|
||||
;
|
||||
|
||||
applyOverrides = overrides: pkg: pipe pkg overrides;
|
||||
in {
|
||||
options.aviallon.programs.libreoffice = {
|
||||
enable = mkEnableOption "LibreOffice";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue