diff options
author | danbst <abcz2.uprola@gmail.com> | 2019-08-05 14:03:38 +0300 |
---|---|---|
committer | danbst <abcz2.uprola@gmail.com> | 2019-08-05 14:03:38 +0300 |
commit | 0f8596ab3f05321e36d9bd53ea7f048b7f0b62e3 (patch) | |
tree | 121d16875c362cecba39cee43a9602f71d870fe1 /nixos/modules/services/x11/xserver.nix | |
parent | 91bb646e98808d594b339d3386f7963a546ccfb4 (diff) | |
download | nixpkgs-0f8596ab3f05321e36d9bd53ea7f048b7f0b62e3.tar nixpkgs-0f8596ab3f05321e36d9bd53ea7f048b7f0b62e3.tar.gz nixpkgs-0f8596ab3f05321e36d9bd53ea7f048b7f0b62e3.tar.bz2 nixpkgs-0f8596ab3f05321e36d9bd53ea7f048b7f0b62e3.tar.lz nixpkgs-0f8596ab3f05321e36d9bd53ea7f048b7f0b62e3.tar.xz nixpkgs-0f8596ab3f05321e36d9bd53ea7f048b7f0b62e3.tar.zst nixpkgs-0f8596ab3f05321e36d9bd53ea7f048b7f0b62e3.zip |
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/modules/services/x11/xserver.nix')
-rw-r--r-- | nixos/modules/services/x11/xserver.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/x11/xserver.nix b/nixos/modules/services/x11/xserver.nix index 82730c5e80c..e716d3bcdc6 100644 --- a/nixos/modules/services/x11/xserver.nix +++ b/nixos/modules/services/x11/xserver.nix @@ -75,7 +75,7 @@ let in imap1 mkHead cfg.xrandrHeads; xrandrDeviceSection = let - monitors = flip map xrandrHeads (h: '' + monitors = forEach xrandrHeads (h: '' Option "monitor-${h.config.output}" "${h.name}" ''); # First option is indented through the space in the config but any |