Commit graph

111565 commits

Author SHA1 Message Date
aszlig
6e5d2f8963
nixos/xserver: Properly validate XKB options
Checking the keyboard layout has been a long set of hurdles so far, with
several attempts. Originally, the checking was introduced by @lheckemann
in #23709.

The initial implementation just was trying to check whether the symbols/
directory contained the layout name.

Unfortunately, that wasn't enough and keyboard variants weren't
recognized, so if you set layout to eg. "dvorak" it will fail with an
error (#25526).

So my improvement on that was to use sed to filter rules/base.lst and
match the layout against that. I fucked up twice with this, first
because layout can be a comma-separated list which I didn't account for
and second because I ran into a Nix issue (NixOS/nix#1426).

After fixing this, it still wasn't enough (and this is btw. what
localectl also does), because we were *only* matching rules but not
symbols, so using "eu" as a layout won't work either.

I decided now it's the time to actually use libxkbcommon to try
compiling the keyboard options and see whether it succeeds. This comes
in the form of a helper tool called xkbvalidate.

IMHO this approach is a lot less error-prone and we can be sure that we
don't forget about anything because that's what the X server itself uses
to compile the keymap.

Another advantage of this is that we now validate the full set of XKB
options rather than just the layout.

Tested this against a variety of wrong and correct keyboard
configurations and against the "keymap" NixOS VM tests.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Cc: @lheckemann, @peti, @7c6f434c, @tohl, @vcunat, @lluchs
Fixes: #27597
2017-07-28 12:39:55 +02:00
dywedir
805467bb5a rustracer: 2.0.6 -> 2.0.9 2017-07-28 11:58:31 +02:00
Jörg Thalheim
9fc4b66800 Merge pull request #27706 from wizzup/cleanup-pythonPackages
Cleanup pkgs/top-level/python-packages.nix
2017-07-28 10:54:59 +01:00
Benno Fünfstück
727c54639e Merge pull request #27705 from binarin/dosbox-unstable-init
dosbox-unstable: init at 2017-07-02
2017-07-28 11:38:32 +02:00
Benno Fünfstück
dbefaeaab2 vim-yapf: fix evaluation
/cc @Mic92
2017-07-28 11:25:17 +02:00
wisut hantanong
f1ef53286d python.pkgs.asn1ate: move to separate expression 2017-07-28 16:07:38 +07:00
wisut hantanong
b01adce061 python.pkgs.chainmap: move to separate expression 2017-07-28 16:07:38 +07:00
wisut hantanong
3182658a4f python.pkgs.chai: move to separate expression 2017-07-28 16:07:37 +07:00
wisut hantanong
76c4ec7519 python.pkgs.area53: move to separate expression 2017-07-28 16:07:37 +07:00
wisut hantanong
ff0e08c015 python.pkgs.args: move to separate expression 2017-07-28 16:07:37 +07:00
wisut hantanong
e77f62df0f python.pkgs.funcsigs: move to separate expression 2017-07-28 16:07:36 +07:00
wisut hantanong
f970ee8e7e python.pkgs.astor: move to separate expression 2017-07-28 16:07:36 +07:00
wisut hantanong
6d09e0c9be python.pkgs.apsw: move to separate expression 2017-07-28 16:07:32 +07:00
wisut hantanong
4cae4418e9 python.pkgs.apipkg: move to separate expression 2017-07-28 16:04:11 +07:00
Alexey Lebedeff
1d72b7345f dosbox-unstable: init at 2017-07-02
As current stable version segfaults when playing HoMM2, as described at
https://www.reddit.com/r/linux_gaming/comments/4dxfei/dosbox_segmentation_fault_core_dumped/

Also some missing dependencies (compared to stable version) were added:
- SDL_sound - for mounting .cue files with compressed sound
- SDL_net - for IPX support
- libpng - for making screenshots
2017-07-28 11:20:56 +03:00
Peter Hoeg
e10d7655dc anydesk: init at 2.9.4 2017-07-28 16:05:35 +08:00
Vincent Laporte
0f94ac9296 coqPackages.autosubst: fix hash 2017-07-28 06:45:31 +00:00
Vincent Laporte
01c8e4fe81 mplayer: adds dvdread support 2017-07-28 06:38:53 +00:00
wisut hantanong
8e1a2250e1 python.pkgs.amqplib: move to separate expression 2017-07-28 13:36:38 +07:00
Frederik Rietdijk
265b007d7f Merge pull request #27696 from dtzWill/fix/one-skype-to-call-them-all
skype: remove deprecated
2017-07-28 08:33:25 +02:00
Joachim F
c36a68e7d3 Merge pull request #27639 from jfrankenau/update-firejail
firejail: 0.9.44.10 -> 0.9.48
2017-07-28 05:45:57 +01:00
Joachim F
439dfd91ae Merge pull request #27702 from rnhmjoj/bspwm
bspwm: fix package
2017-07-28 05:45:30 +01:00
Joachim F
b9518d3b5a Merge pull request #27687 from elitak/factorio-version
factorio: 0.15.30 -> 0.15.31
2017-07-28 05:44:28 +01:00
rnhmjoj
80a0c5c2fe
bspwm: fix package 2017-07-28 06:00:14 +02:00
Tim Steinbach
9c7718d6fc Merge pull request #27701 from NeQuissimus/virtualbox_5_1_26
virtualbox: 5.1.24 -> 5.1.26
2017-07-27 22:15:42 -04:00
Tim Steinbach
147477b048
virtualbox: 5.1.24 -> 5.1.26
Fix #27666
2017-07-27 22:14:17 -04:00
Jörg Thalheim
127b2624b7 vim-yapf: init at 2017-03-21 2017-07-27 23:22:26 +01:00
Jörg Thalheim
229b249281 sysdig: 0.16.0 -> 0.17.0 2017-07-27 22:21:00 +01:00
Robert Helgesson
03f6edf750
eclipse-plugin-anyedittools: 2.6.0 -> 2.7.0 2017-07-27 22:57:14 +02:00
Robert Helgesson
dd108013b6
josm: 12275 -> 12450 2017-07-27 22:55:03 +02:00
Robert Helgesson
fc75595236
gmic: remove myself as maintainer 2017-07-27 22:54:53 +02:00
Robert Helgesson
78815d0c51
mimeo: 2017.2.9 -> 2017.6.6 2017-07-27 22:53:55 +02:00
Robert Helgesson
19425c78e2
python-PyICU: 1.9.6 -> 1.9.7 2017-07-27 22:53:32 +02:00
Will Dietz
916c64416e aliases: add 'skype' -> 'skypeforlinux' for backwards compat 2017-07-27 14:57:46 -05:00
Will Dietz
946cabd5a1 skype: Remove old Linux version, deprecated July 1st 2017.
As reported on various news sites, and currently
on the skype linux download page it contains:

"Important notice: All Skype for Linux clients version 4.3 and older
will be retired on July 1, 2017. To keep chatting, please install the
latest version of Skype for Linux."
2017-07-27 14:43:02 -05:00
aszlig
664bbed412
all-packages.nix: Fix evaluation error for zfs
Regression introduced by 2799a94963.

Attribute zfsStable and zfsUnstable are now gone for the package
expression itself.

The mentioned commit however only changed the reference in
all-packages.nix for the kernel module, but not the userland package.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Cc: @globin
2017-07-27 21:13:12 +02:00
Eelco Dolstra
63d7b6ee29
makeImageFromDebDist: Add extraDebs arguments
This allows adding packages that are not part of the distribution, e.g.g

  extraDebs = [
    (pkgs.fetchurl {
      name = "openjdk.deb";
      url = http://ppa.launchpad.net/openjdk-r/ppa/ubuntu/pool/main/o/openjdk-8/openjdk-8-jdk-headless_8u111-b14-3~14.04.1_amd64.deb;
      sha256 = "1n5ibpkx9pjmc4nr052rls1yqbq7ckav2rabixjhd4yxbyhjl0ap";
    })
  ];
2017-07-27 20:34:24 +02:00
Robin Gloster
2799a94963
zfs, spl: 0.6.5.11 -> 0.7.0 2017-07-27 19:00:54 +02:00
Volth
688dc4e4c3 tinc_pre: avoid infinite loop with EBADFD on network restart 2017-07-27 18:04:33 +02:00
Tuomas Tynkkynen
4456076bc7 keyutils: 1.5.9 -> 1.5.10 2017-07-27 18:57:02 +03:00
Eelco Dolstra
8dfa472178 Merge pull request #27690 from konimex/nawk
nawk: init at 20121220
2017-07-27 17:01:51 +02:00
Muhammad Herdiansyah
d31e7ee1bd nawk: init at 20121220 2017-07-27 21:51:10 +07:00
Nikolay Amiantov
732207f456 citra: fix license field 2017-07-27 17:28:13 +03:00
Nikolay Amiantov
4907e58a02 python.pkgs.pyspf: add pydns to dependencies 2017-07-27 17:07:45 +03:00
Nikolay Amiantov
3a04b2c318 python.pkgs.pypolicyd-spf: 1.3 -> 2.0 2017-07-27 17:07:45 +03:00
Nikolay Amiantov
53c3e5ee97 python.pkgs.netifaces: 0.10.5 -> 0.10.6 2017-07-27 17:07:45 +03:00
Nikolay Amiantov
c10cf27589 python.pkgs.ipaddr: 2.1.10 -> 2.1.11 2017-07-27 17:07:45 +03:00
Nikolay Amiantov
411fe648bd python.pkgs.pydns: use py3dns 3.1.1a for python3 2017-07-27 17:07:45 +03:00
Nikolay Amiantov
a91cb71a83 python.pkgs.python-axolotl: 0.1.35 -> 0.1.39 2017-07-27 17:07:45 +03:00
Nikolay Amiantov
bc52bf2cfe citra: init at 2017-07-26 2017-07-27 17:07:45 +03:00