3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules/services
aszlig e82d126212
nixos/xserver: Don't use exec in xkb-layouts-exist
First of all, thanks to @pbogdan for getting this problem reproduced:

https://github.com/NixOS/nixpkgs/commit/2014db3efcd2a#commitcomment-22815396

Also thanks to @vcunat for bringing this to my attention:

https://github.com/NixOS/nixpkgs/commit/44c64fef16ed5#commitcomment-22813503

Although it is not entirely clear why Nix has killed the build prior to
finishing, it seems to be related to the process substition I was using.

So instead of using "exec touch", let's wrap this inside an if so we
don't exit too early.

Tested this against all sub-tests in nixos/tests/keymap.nix and also a
few configurations with wrong keyboard layout definitions.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2017-06-28 21:39:19 +02:00
..
admin/salt salt-minion: link to configuration documentation 2017-05-11 07:12:04 +01:00
amqp
audio
backup znapzend service: options for logging/nodestroy/restart on failure 2017-05-22 21:47:51 +01:00
cluster Kubernetes ABAC policy file fix (#26499) 2017-06-13 21:54:36 +02:00
computing
continuous-integration hydra: restart daemons on config change 2017-06-27 17:09:13 +02:00
databases Merge pull request #26598 from moretea/mysql-add-bind-option 2017-06-27 19:43:41 +01:00
desktops gnome-disks: add D-Bus service 2017-05-06 19:40:37 +02:00
development
editors
games
hardware Merge pull request #21227 from lheckemann/vgaswitcheroo 2017-04-28 12:47:00 +01:00
logging ELK: update kibana and the elastic beats to 5.4 (#26252) 2017-06-13 22:36:08 +02:00
mail mailhog: init at 1.0.0 (#26821) 2017-06-24 17:05:34 +01:00
misc plex: fix preStart permissions 2017-06-24 18:48:47 +02:00
monitoring prometheus service: globalConfig.labels is obsolete 2017-06-27 01:53:03 +02:00
network-filesystems Merge pull request #25709 from nh2/25620-glusterfs-fix-python-import-errors 2017-06-01 22:06:21 +02:00
networking network-manager: hostname option is deprecated 2017-06-28 10:56:31 +02:00
printing
scheduling fcron: install systab 2017-04-23 11:44:04 +02:00
search ELK: update kibana and the elastic beats to 5.4 (#26252) 2017-06-13 22:36:08 +02:00
security Simple proof of concept for how to do other types of services 2017-05-26 18:14:31 -04:00
system Merge pull request #23024 from phile314/cloud-init-update 2017-05-22 16:33:31 +02:00
torrent treewide: use boolToString function 2017-04-11 18:18:53 +02:00
ttys
web-apps piwik & piwik service: init at 3.0.4 2017-06-19 16:00:17 +02:00
web-servers minio service: add inital service 2017-06-26 04:07:37 +02:00
x11 nixos/xserver: Don't use exec in xkb-layouts-exist 2017-06-28 21:39:19 +02:00