diff options
author | danbst <abcz2.uprola@gmail.com> | 2019-07-14 13:46:10 +0300 |
---|---|---|
committer | danbst <abcz2.uprola@gmail.com> | 2019-07-14 13:46:10 +0300 |
commit | 3b0534310c89d04fc3a9c5714b5a4d0f9fb0efca (patch) | |
tree | 49c4e3646c960459328b09bcac5d7812d7a2b909 /nixos/maintainers | |
parent | 69920dafbffcd757acff23f659263ec4b952a017 (diff) |
mass replace "flip map -> foreach"
See `foreach`-introduction commit.
```
rg 'flip map ' --files-with-matches | xargs sed -i 's/flip map /foreach /g'
```
Diffstat (limited to 'nixos/maintainers')
-rw-r--r-- | nixos/maintainers/option-usages.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/maintainers/option-usages.nix b/nixos/maintainers/option-usages.nix index a67a0ab960e5..b207eaded413 100644 --- a/nixos/maintainers/option-usages.nix +++ b/nixos/maintainers/option-usages.nix @@ -102,7 +102,7 @@ let # builtins multiply by 4 the memory usage and the time used to compute # each options. tryCollectOptions = moduleResult: - flip map (excludeOptions (collect isOption moduleResult)) (opt: + foreach (excludeOptions (collect isOption moduleResult)) (opt: { name = showOption opt.loc; } // builtins.tryEval (strict opt.value)); in keepNames ( |